Raspberry Pi, Led, Julia, Programming, Coding.
PiGPIO.ON) PiGPIO.write(p, pin2, PiGPIO.OFF) sleep(0.5) #the time pin1 is off and pin2 is on end finally println("Cleaning up!") set_mode(p, pin1, PiGPIO.INPUT) set_mode(p, pin2, PiGPIO.INPUT) end Do remember to change the GPIO number with the one you chose! Click Save when you're done and now you