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
Copy file name to clipboardExpand all lines: README.md
+7-1Lines changed: 7 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -10,7 +10,13 @@ Global variables use 31276 bytes (38%) of dynamic memory, leaving 50644 bytes fo
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:
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:
14
+
15
+
. pinMode()
16
+
. digitalWrite()
17
+
. delay()
18
+
. millis()
19
+
. print()
14
20
15
21
```
16
22
# Enter the lua script and press Control-D when finished:
0 commit comments