Basics of Hardware with a PyRuler
summary
Short demo shows how to skip C and program a microcontroller with CircuitPython on a PyRuler that ships as a Trinket M0 board with four capacitive touch pads and matching LEDs. The code lives in code.py so saving the file over USB immediately updates the board. Example maps cap touches to VS Code shortcuts, uses LED brightness 0.1, sound threshold ~250 to flash RGB(50,0,50), and demos tapping the table to light LEDs and pressing buttons to play sounds, all working live.
AI-written summary · about
chapters (8)
- 0:00Start
- 0:40Desired Outcomes
- 1:03Embedded Software Development
- 1:37The Microcontroller
- 1:55What Are Microcontrollers
- 2:17Examples of Peripherals
- 2:36Pwm
- 7:03Circuit Playground Express
related talks
27mLight Up Your Life - With Python and LEDs!
40mPython on bare metal Beginners tutorial with MicroPython
24mCircuit Playground Bluefruit Board: Bringing Objects to Life (With Python Code)
29mGame Development with CircuitPython
39mExploring the Wonderful World of Python on Devices
29mPython for Hardware Folks
21mChips don't bite! An introduction to µController programming for Rusteaceans
35mPhysical computing with Python and Raspberry Pi
