Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add tutorial for rp2040 Pico boards and MicroPython #77

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
34 changes: 34 additions & 0 deletions en/tutorials/1.1/rp2040.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
---
layout: default
title: Raspberry Pi Pico Boards and Mu
i18n: en
---

# Raspberry Pi Pico boards and Mu

The Raspberry Pi Foundation makes amazing low cost microcontroller boards using the rp2040
chipset. These boards are capable of running
[MicroPython](https://www.raspberrypi.com/documentation/microcontrollers/micropython.html).

The extra functionality provided by rp2040 mode is contained in the following
buttons:

<div class="row">
<img src="/img/en/tutorials/rp2040_buttons.png" alt="Buttons for rp2040 mode" class="img-responsive center-block img-rounded movie"/>
<br/>
</div>

The "Run" button runs your Python code and opens the REPL pane to display any output.

The "REPL" button opens a serial data connection to the Raspberry Pi Pico board you
may have connected to your computer. This will result in a new pane between the
text editor and Mu's footer. Any serial data emitted from the device will
appear here. You can interact with the MicroPython REPL by clicking in the REPL pane
to have focus.

The "Plotter" button opens Mu's plotter. If your device is outputting tuples
of numbers via the serial connection, the plotter will display them as a
graph. This is incredibly useful for visualising any data you might be
measuring via the device. For more information read the
[tutorial about Mu's plotter](plotter).

16 changes: 16 additions & 0 deletions en/tutorials/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -162,6 +162,22 @@ <h3>MicroPython on ESP</h3>
</div>
</div>
</div>
<div class="col-sm-4 col-md-4">
<div class="thumbnail">
<a href="/en/tutorials/1.1/rp2040">
<img src="/img/en/tutorials/rp2040_buttons.png" alt="rp2040 Mu Buttons"
class="img-responsive center-block img-rounded movie-light">
</a>
<div class="caption">
<h3>Raspberry Pi Pico and rp2040</h3>
<p>The Raspberry Pi Foundation makes the rp2040 chipset, used in
boards like the Pico and Pico W. Both run <a href="https://micropython.org/">MicroPython</a>
and work well with Mu.</p>
<p><a href="/en/tutorials/1.1/rp2040" class="btn btn-primary"
role="button">Read</a> Level: <strong>EASY</strong></p>
</div>
</div>
</div>
<div class="row">
<div class="col-sm-4 col-md-4">
<div class="thumbnail">
Expand Down
Binary file added img/en/tutorials/rp2040_buttons.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.