Programming the Raspberry Pi Pico in C uses the highly popular VS Code as its development environment and shows how to use a Raspberry Pi or a desktop PC running Windows as your development machine. The purpose of the book is to reveal what you can do with the Pico's GPIO lines together with widely used sensors, servos and motors and ADCs. After covering the GPIO, outputs and inputs, events and interrupts, it gives you hands-on experience of PWM (Pulse Width Modulation), the SPI bus, the I2C bus and the 1-Wire bus. One of the key advantages of the Pico is its PIO (Programmable I/O) and while this is an advanced feature it is introduced in this book.
The original Pico lacked WiFi connectivity, a limitation overcome by the recent launch of the Pico W. You can think of as the Pico W as a superset of the original - everything you can do with an original Pico you can do with a Pico W, but not vice versa. A brand new chapter is dedicated to how to make use of the additional features of the Pico W including how to create a web client and a web server and any differences between the two versions are clearly indicated throughout the book.
Harry Fairhead has a hardware background and, having worked with microprocessors and electronics in general, for many years, he is an enthusiastic proponent of the IoT and embedded computing. He is the author of two books intended for C programmers, Fundamental C: Getting Closer To The Machine and Applying C For the IoT With Linux and four books on the using the Raspberry Pi in an IoT context, two using C and two using Python. He is now working on a Python version of this book for the Pico and on Master the Raspberry Pi Pico, which goes deeper into the PIO, the second core, using TLS/HTTPS and FreeRTOS, which is the next book you should read if you want to take Pico programming to the next level.