SunFounder Thales Kit for Raspberry Pi Pico, Release 1.0
Note:
If your program does not run, but prints a “syntax error” message to the Shell area, then there is an error in
what you have written.
MicroPython needs to write its instructions in a very specific way: miss parentheses or quotation marks, spell
errors, or give it a capital P, or add extra symbols somewhere in the instruction, and it won’t run . Try to type the
command again and make sure it is the same as this one, and then press Enter.
You will find that the message
hello world
will be printed out immediately in the Shell area.
3.3.2 Script Mode
Interactive mode is not recommended if you need to write a long piece of Python code, or if your Python script spans
multiple files. In this case, script mode can be used. In script mode, you write your code and save it with a .py
extension, which stands for “Python”.
Enter the same command
print("Hello, World!")
in the script area, when you press the ENTER key, the
program will not run, only one more blank line in the script area.
46
Chapter 3. For MicroPython User
Содержание Thales Kit
Страница 1: ...SunFounder Thales Kit for Raspberry Pi Pico Release 1 0 Jimmy SunFounder Jun 04 2021 ...
Страница 2: ......
Страница 4: ...ii ...
Страница 6: ...SunFounder Thales Kit for Raspberry Pi Pico Release 1 0 2 CONTENTS ...
Страница 10: ...SunFounder Thales Kit for Raspberry Pi Pico Release 1 0 6 Chapter 1 Introduction to Raspberry Pi Pico ...
Страница 12: ...SunFounder Thales Kit for Raspberry Pi Pico Release 1 0 8 Chapter 2 What is Included in This Kit ...
Страница 13: ...SunFounder Thales Kit for Raspberry Pi Pico Release 1 0 2 1 Components List 2 1 Components List 9 ...
Страница 42: ...SunFounder Thales Kit for Raspberry Pi Pico Release 1 0 38 Chapter 2 What is Included in This Kit ...
Страница 140: ...SunFounder Thales Kit for Raspberry Pi Pico Release 1 0 136 Chapter 3 For MicroPython User ...
Страница 164: ...SunFounder Thales Kit for Raspberry Pi Pico Release 1 0 160 Chapter 4 For Arduino User ...