Sudong wang Windows 10 Dell XPS 13
Section1 SDK To get your QT Py board sending data over USB again, this time via the C SDK Open the link is given, https://datasheets.raspberrypi.com/pico/getting-started-with-pico.pdf, since I am operating in the windows environment, I need to navigate to page 9.2.1.
download and install the tools above.
for the arm GNU toolchain, I select the one ending with .exe
and remember to click the add path to the environmental variable
for CMake, I use the windows installer
and click add system path to all users during installation.
Then for the visual studio, remember to click the link given instead of downloading from the public website since you need to click the “desktop development with C++”. For python 3.10 and git, it is recommended to use the installer from the link.
After that, I open the terminal from the VS2022.
select the file location. I create the ese5190 file in the document. cd to the file, and use the code from 9.22
after successfully set up, set the path to SDK as setx PICO_SDK_PATH "....\pico-sdk" and close the terminal and open a new one. cd to the file location, and type the code given from 9.23 the terminal should look like
then copy the file from the pico example:
after using putty to connect the RP2040 and copy the example code to the device, it will loop hello world as follows: