It is in AP mode, and an Android phone is connected, where I edit the following code:
Code: [Local Link Removed for Guests]
PIN(35)= 0
PIN.MODE 35, OUTPUT
gui.init 20, black
txt = GUI.Textline(10,50,190,20, "Electronic Load", 2)
but = GUI.Button(20, 200, 100, 20, "OFF",2 )
gui.setevent but, TOUCH, buttonclick
gui.autorefresh 30, 1
wait
buttonclick:
IF PIN(35) = 0 THEN
PIN(35) = 1
gui.settext but,"ON"
ELSE
PIN(35) = 0
gui.settext but,"OFF"
END IF
return
Is this a bug, or am I doing something wrong?