Browse Source

some changess

Federico Bonelli 2 years ago
parent
commit
6fa45f6f0d
2 changed files with 0 additions and 12 deletions
  1. 0 12
      Node-MCU/init.lua
  2. 0 0
      README.md

+ 0 - 12
Node-MCU/init.lua

@@ -1,12 +0,0 @@
1
-lighton=0
2
-pin =4
3
-gpio.mode(pin,gpio.OUTPUT)
4
-tmr.alarm(1,200,1,function()
5
-    if lighton==0 then
6
-    lighton=1
7
-    gpio.write(pin,gpio.HIGH)
8
-    else
9
-    lighton=0
10
-    gpio.write(pin,gpio.LOW)
11
-    end
12
-    end)

+ 0 - 0
README.md