Created
March 28, 2015 11:52
-
-
Save ramalho/4fac28c01876625e5a8d to your computer and use it in GitHub Desktop.
Blink with Pingo
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import pingo | |
| from time import sleep | |
| board = pingo.detect.MyBoard() | |
| led = board.pins[13] | |
| led.mode = pingo.OUT | |
| while True: | |
| led.toggle() | |
| sleep(1) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment