Articles for tag pi-pico
-
Play music with a raspberry Pi Pico and RustGenerate musical notes on a Raspberry Pi Pico using C/C++ or Rust. Learn to control PWM frequency and duty cycle for precise sound output. Example code demonstrates playing "Twinkle Twinkle Little Star," covering frequency calculation and clock divider techniques for optimal sound reproduction within the human hearing range.
-
Drive a LED grid with a Raspberry Pi Pico and Web Serial - Part 1Control an LED grid with a Raspberry Pi Pico, Web Serial, and Firebase. This 3-part tutorial shows how to control a 256 LED grid using the Pico's PIO, send data via Web Serial, and enable remote control with Firebase. Learn bit-banging techniques and build a web interface for your LED project. Get started now!
-
Writing Doom Fire for the Raspberry Pi Pico and the Pimoroni Pico DisplayRun Doom Fire animation on a Raspberry Pi Pico using MicroPython or C++. MicroPython is beginner-friendly but slower; C++ offers significant performance improvements, achieving over 40 FPS. This tutorial details both implementations, optimization techniques, and adding wind effects, providing code examples and addressing performance bottlenecks.