Programming the Raspberry Pi Pico in C


Collectively authored by Harry Fairhead and Mike James, it takes you although potential makes use of of the Pico, which can be utilized for studying sensors, connecting to networks or driving actuators, and such like. Chapters cowl utilizing GPIO, easy outputs, occasions and interrupts, pulse width modulation, the SPI bus, the PIO, the serial port, and extra…

And why MicroPython? The authors say it’s a sensible choice of language to program the Pico because it’s primarily based on Python 3, and is absolutely object-oriented, which implies that you could create courses to encapsulate {hardware} and make it simpler to make use of and perceive. Ah, encapsulation. I keep in mind that. And inheritance…

The publishers write:


“The aim of Programming the Raspberry Pi Pico in MicroPython is to disclose what you are able to do with the Pico’s GPIO strains along with broadly used sensors, servos and motors and ADCs. After protecting the GPIO, outputs and inputs, occasions and interrupts, it provides you hands-on expertise of PWM (Pulse Width Modulation), the SPI bus, the I2C bus and the 1-Wire bus.”

“One of many key benefits of the Pico is its PIO (Programmable I/O) and whereas that is a sophisticated characteristic it’s included on this e book. After discovering out how the PIO works, we apply it to writing a PIO program for the DHT22 and the 1-Wire bus.”

Pi Pico

Constructing on Raspberry Pi’s microcontroller-class product – the RP2040 – the Raspberry Pi Pico was realeased in January 2021. A suitable model of MicroPython was realeased for it, too, individually.

The Pi Pico serves as a standalone board possibility for embedded improvement or as companion piece to your Raspberry Pi pc, maybe serving first steps with a microcontroller.

Principally, we’re speaking about interfacing your Raspberry Pi to the surface “actual” world. It’s priced at $4.

Programming the Raspberry Pi Pico in MicroPython particulars

Title: Programming the Raspberry Pi Pico in MicroPython
Creator: Harry Fairhead, Mike James
Writer: I/O Press
Value: £28
Pages: 316
Format: Paperback
ISBN: 9781871962697
Date: Might 2021

Authors

Harry Fairhead can also be the writer of Raspberry Pi IoT In C Utilizing Linux Drivers, Raspberry Pi IoT in C, Second Version Micro:bit IoT in C, Second Version Making use of C For The IoT With Linux and Basic C: Getting Nearer To The Machine.

Mike James is the writer of Programmer’s Python: Every thing is an Object and different programming and pc science titles within the I Programmer Library.

As with their earlier collaboration, Raspberry Pi IoT In Python Utilizing Linux Drivers, Harry brings his experience in electronics and the IoT whereas Mike contributes the Python code.





Supply hyperlink

We will be happy to hear your thoughts

Leave a reply

Reset Password
Compare items
  • Total (0)
Compare
0
Shopping cart