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

Pico Examples and How To

With the Pico now ready to accept MicroPhython code, it’s useful to understand some of the basics and how to get started. We’ve put together some foundation examples with MicroPython, to help you begin to get to grips with this wonderful microcontroller.
Pico Examples and How To
When you flash the Pico with the latest MicroPython the Pico will enter a wait state, waiting for instructions from you through MicroPython. You can easily start to upload a pre-created Python file, a. py file, on to the Pico’s storage, however, you can start to ‘talk’ to the Pico immediately via REPL. REPL, pronounced ‘ripple’, stands for Read, Evaluate, Print, Loop. Read means that MicroPython is waiting for you to enter code; Evaluate will interpret the code and begin to execute it; Print displays the results of the last executed line of code; Loop returns to the start, prompting you for more code. You can access the Pico via the command line, through a tool called Minicom, but since we’ve already got Thonny up and running, it makes sense…
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.