-->
Page 1 of 1

ELEGIANT NodeMcu first steps. Not working. Help please...

PostPosted: Thu Sep 22, 2016 7:55 am
by ESP-12f
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

Re: ELEGIANT NodeMcu first steps. Not working. Help please..

PostPosted: Thu Sep 22, 2016 11:25 am
by ESP-12f
Downloaded LuaLoader 0.91 and this version works. But Arduino-IDE still not working...

Re: ELEGIANT NodeMcu first steps. Not working. Help please..

PostPosted: Fri Sep 23, 2016 4:18 am
by stenry
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)...