0% found this document useful (0 votes)
101 views

MicroPython Tutorial For The Pyboard

This document provides a tutorial for getting started with the pyboard microcontroller. It outlines an 11-step introduction to basic pyboard functions like running scripts, accessing the REPL prompt, controlling LEDs and switches. The tutorial also includes additional sections on using extra components like servo motors, LCD displays, and audio skins, as well as tips for debouncing pin inputs and creating a UART-USB pass through.

Uploaded by

sarbini
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
101 views

MicroPython Tutorial For The Pyboard

This document provides a tutorial for getting started with the pyboard microcontroller. It outlines an 11-step introduction to basic pyboard functions like running scripts, accessing the REPL prompt, controlling LEDs and switches. The tutorial also includes additional sections on using extra components like servo motors, LCD displays, and audio skins, as well as tips for debouncing pin inputs and creating a UART-USB pass through.

Uploaded by

sarbini
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 1

MicroPython tutorial for the pyboard

This tutorial is intended to get you started with your pyboard. All you need is a pyboard
and a micro-USB cable to connect it to your PC. If it is your first time, it is recommended
to follow the tutorial through in the order below.

 1. Introduction to the pyboard


 2. Running your first script
 3. Getting a MicroPython REPL prompt
 4. Turning on LEDs and basic Python concepts
 5. Switches, callbacks and interrupts
 6. The accelerometer
 7. Safe mode and factory reset
 8. Making the pyboard act as a USB mouse
 9. The Timers
 10. Inline assembler
 11. Power control

Tutorials requiring extra components


 1. Controlling hobby servo motors
 2. Fading LEDs
 3. The LCD and touch-sensor skin
 4. The AMP audio skin
 5. The LCD160CR skin

Tips, tricks and useful things to know


 1. Debouncing a pin input
 2. Making a UART - USB pass through

You might also like