first commit

This commit is contained in:
Christian Zufferey
2018-07-22 12:43:16 +02:00
parent 0fa4e7727e
commit 3149e7ecc8
54 changed files with 3043 additions and 0 deletions

13
helloworld.lua Normal file
View File

@@ -0,0 +1,13 @@
-- blink the blue led builting
-- zf180709.2200
zpin=0 --led blue builting
gpio.mode(zpin, gpio.OUTPUT)
for i=1,20 do
print("Hello World "..i)
gpio.write(zpin, gpio.LOW)
tmr.delay(100000)
gpio.write(zpin, gpio.HIGH)
tmr.delay(100000)
end