Simple MicroPython scripts on the Wemos W600-Pico development board.
🔴 Deprecated 2023-01-29
This repository is deprecated, please use w600_micropython_1_19_examples
These scripts work with MicroPython version v1.10-282 preloaded on the W600-Pico. As pointed out by LexxM3, Robert Hammelrath (robert-hh) has not only ported MicroPython v1.19.1 to the W60X, but he also makes the wm_w600*.fls
image files available in his Shared-Stuff repository.
It would be best to use one of these newer versions of MicroPython.
This repository will be deleted or perhaps archived and replace with an updated version as soon as possible.
Source code to accompany A First Look at the Winner Micro W600.
-
- Short MicroPython script easily copied and pasted at the REPL prompt to restore the FTP server.
- Adjust the Wi-Fi credentials and the static IP address to suit.
- See 5. The FTP Server.
-
- Obligatory blink script flashing the on-board LED of the W600-Pico.
- See 6. A Blink Example.
-
- A custom
boot.py
script that connects to a Wi-Fi network and starts an FTP server. - Required for a workable programming environment.
- Copy
boot.py
to the root directory of the W600 file system. - Adjust the content of secrets.template and save as
secrets.py
alongsideboot.py
. - See 7. A Custom
boot.py
.
- A custom
-
- Polling an I/O pin connected to a normally open push button.
- button.py is a clone of MicroPython-Button/Button.py by Ubi de Feo (ubdefeo).
- See 8. Polling a Button.
-
- Implementing a simple Wi-Fi switch with MQTT capabilities.
- Uses the MicroPython-Button/Button.py library by Ubi de Feo (ubdefeo).
- Uses the micropython-umqtt.simple2 library by Wojciech Banaś (fizista).
- See 9. Wi-Fi Switch - Proof of Concept.
The BSD Zero Clause (SPDX: 0BSD) licence applies to the original code in this repository.
Please respect the licence of each of the libraries used
- micropython-umqtt.simple2: MIT
- MicroPython-Button: not defined