Programming in C/C++ using the Pico SDK
In this section, we will discuss developing applications using the official software development kit (SDK) from the Raspberry Pi foundation. The SDK allows you to develop applications in C/C++ and the Raspberry Pi foundation has released detailed documentation on the API to help you develop applications using the Pico. The documentation is available at https://bit.ly/3IpBFwW.
The documentation includes information on installing the SDK, compiling your first example, and loading it onto your Pico. We recommend working through the documentation if you are interested in programming in C/C++.
C/C++ Code Samples
We have included C/C++ code samples for the Raspberry Pi Pico in this book's GitHub repository.
Debuggers for the Raspberry Pi Pico
If you are learning to program in C/C++, it is useful to have a debugging tool to troubleshoot your code. The Raspberry Pi Pico comes with a Serial Wire Debug (SWD) port that lets you troubleshoot...