- totalement remanié la structure de mon dépôt, cela commençait à être trop le foutoire ;-(
This commit is contained in:
13
Boot init.lua/stop.lua
Normal file
13
Boot init.lua/stop.lua
Normal file
@@ -0,0 +1,13 @@
|
||||
-- stop.lua
|
||||
-- programme de stop
|
||||
-- zf180716.0010
|
||||
|
||||
zBTN = 3 -- GPIO0 button
|
||||
zRelay = 6 -- GPIO12 PWM0 relay (active high)
|
||||
zLED = 7 -- GPIO13 PWM1 GREEN LED (active low)
|
||||
|
||||
gpio.mode(zLED,gpio.OUTPUT)
|
||||
pwm.stop(zLED)
|
||||
gpio.write(zLED,1)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user