You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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:
@@ -60,6 +55,15 @@ end
60
55
LED on
61
56
LED off
62
57
```
58
+
## Resources Used (ExecuteScriptFromSerial.ino)
59
+
60
+
**ESP8266:**
61
+
Sketch uses 327776 bytes (31%) of program storage space. Maximum is 1044464 bytes.
62
+
Global variables use 31276 bytes (38%) of dynamic memory, leaving 50644 bytes for local variables. Maximum is 81920 bytes.
63
+
64
+
**ESP32:**
65
+
Sketch uses 310749 bytes (23%) of program storage space. Maximum is 1310720 bytes.
66
+
Global variables use 15388 bytes (4%) of dynamic memory, leaving 312292 bytes for local variables. Maximum is 327680 bytes.
63
67
64
68
## Arduino IDE Library example: HelloWorld.ino
65
69
```
@@ -77,6 +81,15 @@ void loop() {
77
81
78
82
}
79
83
```
84
+
## Resources Used (HelloWorld.ino)
85
+
86
+
**ESP8266:**
87
+
Sketch uses 365276 bytes (34%) of program storage space. Maximum is 1044464 bytes.
88
+
Global variables use 34712 bytes (42%) of dynamic memory, leaving 47208 bytes for local variables. Maximum is 81920 bytes.
89
+
90
+
**ESP32:**
91
+
Sketch uses 309913 bytes (23%) of program storage space. Maximum is 1310720 bytes.
92
+
Global variables use 15388 bytes (4%) of dynamic memory, leaving 312292 bytes for local variables. Maximum is 327680 bytes.
0 commit comments