diff --git a/README.md b/README.md index 4f949dea1e9b932447c2f1c52895fc9a634985f4..780a9749fbff1e61c26d3288cf8ab7fea34e9ff7 100644 --- a/README.md +++ b/README.md @@ -113,8 +113,8 @@ This module includes a basic tool to update the main file on the MicroPython dev # test_upload.py (Python) import mpy_bridge -# instantiate the device on serial port COM34 -d = mpy_bridge.Device("COM34") +# instantiate device, skip init in case main file is missing +d = mpy_bridge.Device("COM34", init=False) # upload main file d.upload("embedded/main.py", "main.py")