Raspberry Pi Pico Programming Using C++ is an instructional text that teaches the reader how to create C++ programs for the Pico. The book encompasses two principal themes. First, it explicates a subset of the C++ programming language that is most useful for microcontroller software development. Second, it elucidates essential particulars of Pico programming, including hardware peripherals, C/C++ SDK usage, and control of common electronic devices (e.g., actuators, displays, motors, sensors, servos, etc.).
The source code that accompanies Raspberry Pi Pico Programming Using C++ is structured to accelerate learning and comprehension of the aforementioned themes. Each source code example is a complete program that can be executed on a Linux/Mac/Windows computer (C++ instructive examples) or actual Pico hardware (Pico application examples).
The reader can also utilize freely available third-party software development tools to modify or experiment with the source code. After reading this book, the reader will be able to create programs for the Pico that are both high-performance and resource efficient.
What You'll Learn
Program Pico peripherals: A/D converters, GPIO, I2C, SPI, PWM, timers, alarms, and UARTs
Control devices like actuators, LCDs, GPS modules, LEDs, motors, sensors, and servos
Develop multicore programs using atomics, mutexes, and semaphores
Learn to use the Pico C/C++ SDK effectively for high-performance code
Who This Book Is For
This book is for professional programmers, makers, students, and anyone who wants to develop high-performance, resource-efficient C++ programs for the Raspberry Pi Pico. It’s also ideal for those looking to learn the basics of C++ and related development tools for microcontrollers.