Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 3991bd6

Browse files
Update README.md
1 parent 467806e commit 3991bd6

File tree

1 file changed

+18
-5
lines changed

1 file changed

+18
-5
lines changed

‎README.md

Lines changed: 18 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,6 @@ Along with the Lua 5.3.5 Core the following Lua standard libraries are included:
99
- table (insert(), sort(), remove(), ...)
1010
- string (len(), match(), ...)
1111

12-
## Used Resources (ESP8266 minimal sketch, 4MB (no spiffs))
13-
14-
Sketch uses 327776 bytes (31%) of program storage space. Maximum is 1044464 bytes.
15-
Global variables use 31276 bytes (38%) of dynamic memory, leaving 50644 bytes for local variables. Maximum is 81920 bytes.
16-
1712
## Sample sketch example: ExecuteScriptFromSerial.ino
1813

1914
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
6055
LED on
6156
LED off
6257
```
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.
6367

6468
## Arduino IDE Library example: HelloWorld.ino
6569
```
@@ -77,6 +81,15 @@ void loop() {
7781
7882
}
7983
```
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.
8093

8194
## The Lua Language:
8295
[Lua 5.3 Reference Manual](https://www.lua.org/manual/5.3/)

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /