Magzter Gold (Sitewide Promotion)
Raspberry Pi Coding & Projects The Complete Manual (Digital)

Raspberry Pi Coding & Projects The Complete Manual (Digital)

1 Issue, Issue 6

Also available on
Zinio Unlimited logo
1-month free trial

Get unlimited access to this article, this issue, + back issues & 5,000+ other magazines.

Renews at just $8.99/month after trial.

Cancel anytime.
Learn more

The Pico and MicroPython

The beauty of the Pico is that it’s a blank microcontroller, meaning that it’s free from any pre-installed code or routines. This allows you to program the Pico to whatever tasks or projects you have planned for it. But first, you’ll need to set it up and get it ready to use MicroPython.
The Pico and MicroPython
The Pico uses MicroPython or C/C++ code in order to communicate with the devices it will be attached to. The code will, when uploaded to the Pico, run a specific set of instructions depending on the electronics that are soldered to the Pico. For example, in MicroPython, with an LED attached to the Pico, you would initialise and import the Pin and Timer modules, tell the Pico which GPIO the LED is attached to, then setup a routine that will use the Timer function to send a signal to the LED – let’s say every couple of seconds. The end result would be a blinking LED, which goes on and off every two seconds. Naturally, the more complex the electronics attached to the Pico are, then the more complex the…
You're reading a preview of
Raspberry Pi Coding & Projects The Complete Manual (Digital) - 1 Issue, Issue 6

DiscountMags is a licensed distributor (not a publisher) of the above content and Publication through Zinio LLC. Accordingly, we have no editorial control over the Publications. Any opinions, advice, statements, services, offers or other information or content expressed or made available by third parties, including those made in Publications offered on our website, are those of the respective author(s) or publisher(s) and not of DiscountMags. DiscountMags does not guarantee the accuracy, completeness, truthfulness, or usefulness of all or any portion of any publication or any services or offers made by third parties, nor will we be liable for any loss or damage caused by your reliance on information contained in any Publication, or your use of services offered, or your acceptance of any offers made through the Service or the Publications. For content removal requests, please contact Zinio.

© 1999 – 2025 DiscountMags.com All rights reserved.