NodeMCU noob question
Posted: Fri Apr 17, 2015 5:03 pm
Asked this before, think the post was too long... Here is the original: viewtopic.php?f=24&t=2468
Ill try to say it in less words now...
How does the NodeMCU structure work as far as files/code goes? What I mean is, I only know Arduino really (noob) and I am putting everything I write in Lua into the init.lua. Is this wrong? Is "Init.lua" similar to Arduino's "Setup()"? Should I put my "loop()" code somewhere else? How do you do that? Can someone explain to me how this works or point me to a good tutorial that will help someone like me that doesn't know much.a
I ask because my ESP-01 works for a few min then stops. Its extremely inconsistent. My first inclination is that I dont know what the hell I'm doing.
Ill try to say it in less words now...
How does the NodeMCU structure work as far as files/code goes? What I mean is, I only know Arduino really (noob) and I am putting everything I write in Lua into the init.lua. Is this wrong? Is "Init.lua" similar to Arduino's "Setup()"? Should I put my "loop()" code somewhere else? How do you do that? Can someone explain to me how this works or point me to a good tutorial that will help someone like me that doesn't know much.a
I ask because my ESP-01 works for a few min then stops. Its extremely inconsistent. My first inclination is that I dont know what the hell I'm doing.