8000 text corrections · blynkkk/lib-python@bfc35b6 · GitHub
[go: up one dir, main page]

Skip to content
This repository was archived by the owner on May 7, 2025. It is now read-only.

Commit bfc35b6

Browse files
author
amorozenko
committed
text corrections
1 parent be7b1e6 commit bfc35b6

File tree

1 file changed

+9
-6
lines changed

1 file changed

+9
-6
lines changed

examples/esp8266/README.md

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -110,20 +110,23 @@ For custom esp8266 firmware build creation:
110110
```
111111

112112

113-
### Frozen module inside firmware
114-
Frozen bytecode uses the cross compiler to convert the source to bytecode which is then stored with the firmware.
113+
### Frozen bytecode
114+
Frozen bytecode approach uses the cross compiler to convert the source to bytecode which is then stored with the firmware.
115115

116116
Examine [this document][blynk-esp32-readme] to get more details how to compile *.py files into *.mpy bytecode
117117

118+
After *.mpy files can be placed to **/lib** directory of esp8266 board with **ampy** tool. Libraries *.mpy can be simply imported
119+
in the same manner as standard *.py library
120+
```python
121+
import blynklib
122+
```
123+
118124
***Note!!*** During custom firmware creation your libraries will be converted and adopted to esp8266 environment
119-
automatically. So you can create custom build and then just copy *.mpy files from docker system
125+
automatically. So you can create custom build and then just copy *.mpy files from docker system to local
120126
```bash
121127
docker cp micropython:/micropython/ports/esp8266/build/frozen_mpy/blynklib.mpy blynklib.mpy
122128
```
123129

124-
After *.mpy files can be placed to **/lib** directory of esp8266 board with **ampy** tool and simply imported
125-
as standard library
126-
127130

128131
## Wifi Connection
129132
Micropython allows to use core ***network*** module for WiFi connection setup.

0 commit comments

Comments
 (0)
0