在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称(OpenSource Name):fdu/ESP8266-Arduino-Lua开源软件地址(OpenSource Url):https://github.com/fdu/ESP8266-Arduino-Lua开源编程语言(OpenSource Language):C 97.8%开源软件介绍(OpenSource Introduction):ESP8266 Arduino LuaThis Arduino library provides the lua 5.3.4 scripting engine for ESP8266 sketches. This allows dynamic execution of code on Arduino without having to compile and flash a new firmware. As an example, the following standard Arduino functions are available in lua scripts as bindings:
Installation into the Arduino IDEDownload the content of this Github repository as a ZIP archive by clicking on Clone or download then Download ZIP. Follow the instructions on installing additional Arduino libraries and navigate to the file downloaded previously. Arduino sketch examplesAfter installing the library, some sketch examples are available from the File menu, then Examples and finally under ESP8266-Arduino-Lua. The examples include ExecuteScriptFromSerial which takes a lua script from the serial line and executes it:
Lua script examplesThe lua language syntax is described in the reference manual. It is extended by the Arduino functions listed above. Hello world
Blinking LED
|
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论