Skip to content

Instantly share code, notes, and snippets.

@rafacouto
Created May 28, 2016 18:02
Show Gist options
  • Save rafacouto/b42e116c322a0f46f4bcd320191a411b to your computer and use it in GitHub Desktop.
Save rafacouto/b42e116c322a0f46f4bcd320191a411b to your computer and use it in GitHub Desktop.
gpio.mode(0, gpio.OUTPUT)
gpio.write(0, gpio.LOW)
function preme()
gpio.write(0, gpio.HIGH)
tmr.delay(50000)
gpio.write(0, gpio.LOW)
end
-- preme();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment