Arduino Stack Exchange is a question and answer site for developers of open-source hardware and software that is compatible with Arduino. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm planning to buy an Esp 8266.

Do I really need to learn lua script to play with it ? I have seen some people using it with the standard arduino ide...

Do you need a custom firmware to use arduino ide instead of lua script ?

Arduino ide seems better for me because I already know the syntax. Is there any downside of using arduino ide instead of NodeMCU with lua script ?

share|improve this question
up vote 2 down vote accepted

Using the Arduino IDE is custom firmware. That's what you're writing. You don't need any new firmware because the new firmware is what you are writing.

I can't think of any down sides to using C++ to program the ESP8266 instead of LUA - in fact it can only be a benefit since you are not using an interpreted language which is going to be slower than natively compiled code.

share|improve this answer
    
so why are most people using NodeMCU with Lua ? – n0tis Jan 26 at 16:19
    
@n0tis Because it's pre-installed and very easy to use. Also they're told to use it when they buy it and don't know any better. – Majenko Jan 26 at 16:19
    
so I should use this lua? I'm planning to make a mini robot using small motor, small battery and pwm – n0tis Jan 26 at 16:21
    
@n0tis I have only ever programmed them in C++ and wouldn't do anything else. At the end of the day you can always re-install the LUA interpreter firmware and go back to LUA if you don't get on with the Arduino-style programming of it. Nothing is permanent - you can change your mind any time you like. – Majenko Jan 26 at 16:22
    
It's Lua not LUA. It is not an acronym. See What's in a name?. How are you using Lua on the Arduino? – Nick Gammon Jan 26 at 23:08

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.