shared-bindings: Fix blinky example. Fixes #55

This commit is contained in:
Scott Shawcroft 2016-11-29 14:37:25 -08:00
parent ddfa7595b0
commit 16764dfa31

View File

@ -98,10 +98,12 @@
//| import time //| import time
//| //|
//| with nativeio.DigitalInOut(D13) as led: //| with nativeio.DigitalInOut(D13) as led:
//| led.value = True //| led.switch_to_output()
//| time.sleep(0.1) //| while True:
//| led.value = False //| led.value = True
//| time.sleep(0.1) //| time.sleep(0.1)
//| led.value = False
//| time.sleep(0.1)
//| //|
STATIC const mp_rom_map_elem_t nativeio_module_globals_table[] = { STATIC const mp_rom_map_elem_t nativeio_module_globals_table[] = {