Raspberry Pi Pico

From Sketching with Hardware at LMU Wiki
Revision as of 00:43, 22 February 2021 by Skwhadmin (talk | contribs)
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

Links

Here are some links for the Raspberry Pi Pico board:

The starting page:

Board pinout

MicroPython on the Raspberry Pi Pico

Related Video


Code Example

Control the internal LED with MicroPython

The internal LED is connected to Pin 25.

from machine import Pin
# the internal LED is connected to Pin 25, we use it as output 
myLED = Pin(25, Pin.OUT)
# this switches the LED on
myLED.on()
# this switches the LED off
myLED.off()