Example sketches for the new Arduino IDE for ESP8266

Moderator: igrr

User avatar
By iotfreaks
#28750 Hey all!
It's just my first time with this module and using LUA uploader really posed me a problemfor the first time. It ran well on arduino's serial monitor but when i tried to upload code using LUA, it showed the following error:


SENT: -- One time ESP Setup --
SENT: wifi.setmode(wifi.STATION)
SENT: wifi.sta.config ( "Beats" , "passkeyerror" )
SENT: print(wifi.sta.getip())
-- One time ESP Setup --

wrong syntax

ERROR
wifi.setmode(wifi.STATION)


ERROR
wifi.sta.config ( "Beats" , "mysecret" )


ERROR
print(wifi.sta.getip())

wrong syntax

ERROR



If any help can be offered, i will really appreciate it.
Thanks