1/2/2023 0 Comments Esp8266 lua ide![]() ![]() ![]() If you are using board like NodeMCU you do not need FTDI USB adapter, just connect USB cable to computer. I recommend using the ESPlorer IDE which is a program created by 4refr0nt to send commands to your ESP8266. Configure Arduino IDE as Arduino ESP8266 IDE. On galileo, the arduino is connected by serial port, as it is needed for sketch upload, so as long as LUA give you some library to manipulate serial port, you are good to go for this solution. Flashing ESP8266 with Lua/NodeMCU firmware First, you have to flash your ESPs with NodeMCU firmare. pratically you are writing a custom program, and the ardiuno (and LUA) sketch become a mere string parser. That means, if you want to just fast-prototipe something, it it a good solution, but when you need to code time-sensistive (or specialized) code, then you need to create your own function, called by your own command, witch probabily as a custom response. That means many arduino command are mapped to a specific serial command, for example 'aX' may means do a digitalRead, where X is the pin number, 'bX' do an analogRead and so, obviusly arduino will then send back the reading to your host.ĭrawback are that you are limited by serial (or any other bus) throughput. What you want to do is similar to the Firmdata it is a processing and arduino sketch that will use arduino as a mere "executor" of a pseudo language over serial. Not really but lesto does a great job explaining: I hadn't really thought of running Lua on top of Arduino! Poof all the quandries have been solved. How can I control the arduino interface using lua I was just surfing Stack Overflow and came accross this: ![]() Sun 7:06 am might have taken this as Black oir White. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |