Add files via upload

This commit is contained in:
kristjan-komlosi authored and GitHub committed 2017-06-30 08:16:22 +02:00
1 parent 6685d59fbb
commit 67c0a98ce3
55 files changed
+116432

No files matched your search

+12
View File
@@ -0,0 +1,12 @@
import pyb
import time
pin = pyb.Pin(2, pyb.Pin.OUT)
for i in range(4):
print('LED ON')
pin.value(0)
time.sleep(1)
print('LED OFF')
pin.value(1)
time.sleep(1)
print('iteration done.')
print("All done.")
+12
View File
@@ -0,0 +1,12 @@
import pyb
import time
pin = pyb.Pin(2, pyb.Pin.OUT)
for i in range(4):
print('LED ON2')
pin.value(0)
time.sleep(1)
print('LED OFF2')
pin.value(1)
time.sleep(1)
print('2iteration done.')
print("All 2 done.")