diff --git a/Src/GPIO.lua b/Src/GPIO.lua index 0c22073..4937cd8 100644 --- a/Src/GPIO.lua +++ b/Src/GPIO.lua @@ -8,7 +8,7 @@ function InitGPIO() gpio.mode(3,gpio.OUTPUT); gpio.mode(4,gpio.OUTPUT); gpio.write(0,gpio.LOW); - gpio.write(1,gpio.LOW); + gpio.write(1,gpio.HIGH); gpio.write(2,gpio.LOW); gpio.write(3,gpio.LOW); gpio.write(4,gpio.LOW); diff --git a/Src/UDPService.lua b/Src/UDPService.lua index a33b8d0..2b9cfe0 100644 --- a/Src/UDPService.lua +++ b/Src/UDPService.lua @@ -49,7 +49,7 @@ function UDPService(s, data, port, ip) if string.match(data,"^Ready") then Is_AutoClose = false; GPIOOff(0); - GPIOOff(1); + GPIOOn(1); GPIOOff(2); s:send(port, ip, "0-1-1"); end