Current Lua downloadable firmware will be posted here

User avatar
By ESP-12f
#55500 Hello folks,

just received my ELEGIANT NodeMcu Lua ESP8266 ESP-12E WIFI Development Board from BigRiverInSoutAmerica. And I am trying to get it work.

So I installed Arduino IDE, added http://arduino.esp8266.com/stable/packa ... index.json and choosen Nodemcu 1.0 as board.

Next I tried printing a simple Hello World.
I entered:
Code: Select allvoid loop() {
print("Hello World!");
}

After that the IDE says:
Code: Select allerror: 'print' was not declared in this scope

 print("Hello World!");

I have no clue why. Could you help me please?

Plus I tried it with LuaLoader 0.90 but the response contains this nonses:
Code: Select all{mow¯»ouooo¿Wo{ow»­»íë

What is wrong?

Thank you very much
User avatar
By stenry
#55558 If you would like to print it in a serial terminal of Arduino IDE, you should use Serial.print("text") instead of just print.

"Hello world" in microcontroller world is usually called "Blink" ;-)

You can try different examples in File/Examples/ESP8266 section of Arduino IDE (Blink is there)...