上QQ阅读APP看书,第一时间看更新
How to do it...
Let's have a look at how to do this:
- Open the main.py file and save the print('hi there') statement in the file.
- Open the REPL through your preferred application. With the REPL open, press Ctrl + D. The following output should appear:
Adafruit CircuitPython 3.1.2 on 2019-01-07; Adafruit CircuitPlayground Express with samd21g18
>>>
>>>
soft reboot
Auto-reload is on. Simply save files over USB to run them or enter REPL to disable.
main.py output:
hi there
Press any key to enter the REPL. Use CTRL-D to reload.
Edit the main.py file and change the contents to print('hi there again'). The following output should be automatically displayed:
soft reboot
Auto-reload is on. Simply save files over USB to run them or enter REPL to disable.
main.py output:
hi there again
Press any key to enter the REPL. Use CTRL-D to reload.