20210422.4 Buy a piece of MicroPython PyBoard (v1.1). (Download the 'MicroPython从0到1' from 01Studio.) Open the micropython web. Proceed from 'MicroPython tutorial for the pyboard'. Plug in the PyBoard. Edit the main.py file, save it, eject the board, press the RST switch to run the script. # main.py -- put your code here! import pyb pyb . LED ( 4 ) . on () One can just keep repeating the above process to develop programs. But it is likely to be difficult to debug. REPL prompt: The driver for using the serial USB device was installed, but not exactly as described in the guide. It appears as COM7. The device can then be operated in the REPL mode. It is better to open the Device Manager first. Then plug the board and observe that the USB serial device appears in the Device Manager. Although a serial terminal program such as PuTTY can be us...
Posts
Showing posts from April, 2021