|
1 | | -# ESP8266 Arduino Lua |
| 1 | +# ESP Arduino Lua |
2 | 2 |
|
3 | | -This Arduino library provides the [lua](https://www.lua.org/) 5.3.5 (release) scripting engine for ESP8266 sketches. This allows dynamic execution of code on Arduino without having to compile and flash a new firmware. |
| 3 | +This Arduino library provides the [lua](https://www.lua.org/) 5.3.5 (release) scripting engine for ESP8266/ESP32 sketches. This allows dynamic execution of code on Arduino without having to compile and flash a new firmware. |
4 | 4 |
|
5 | | -## Used Resources (minimal sketch, 4MB (no spiffs)) |
| 5 | +## Used Resources (ESP8266 minimal sketch, 4MB (no spiffs)) |
6 | 6 |
|
7 | 7 | Sketch uses 327776 bytes (31%) of program storage space. Maximum is 1044464 bytes.
|
8 | 8 | Global variables use 31276 bytes (38%) of dynamic memory, leaving 50644 bytes for local variables. Maximum is 81920 bytes.
|
9 | 9 |
|
10 | 10 |
|
11 | 11 | ## Arduino sketch examples
|
12 | 12 |
|
13 | | -After 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. As an example, the following standard Arduino functions are available in lua scripts as bindings: |
| 13 | +After installing the library, some sketch examples are available from the *File* menu, then *Examples* and finally under *ESP-Arduino-Lua*. The examples include **ExecuteScriptFromSerial** which takes a lua script from the serial line and executes it. As an example, the following standard Arduino functions are available in lua scripts as bindings: |
14 | 14 |
|
15 | 15 | - pinMode()
|
16 | 16 | - digitalWrite()
|
|
0 commit comments