title | keywords | tags | sidebar | permalink | summary | |
---|---|---|---|---|---|---|
Introduction |
PicoRuby documentation |
|
picoruby_sidebar |
index.html |
PicoRuby is the smallest Ruby implementation for one-chip microcontrollers. |
Firmware framework for DIY keyboards.
- https://github.com/picoruby/prk_firmware
- [KBD.news] PRK firmware: PRK is a PicoRuby-based keyboard firmware running on RP2040 chips. https://kbd.news/PRK-firmware-1370.html
Microcontroller programming framework.
- Download the latest
R2P2-*.uf2
from the releases page of the repository - Drag and drop it into the RPI-RP2 drive
- Open a proper port in your terminal emulator
- Try some UNIX-like commands like
ls
,mkdir
andtouch
- Open PicoIRB with
irb
command
- Turn on the on-board LED using PicoIRB
- If you use "Pico W", write
led = CYW43::GPIO.new(CYW43::GPIO::LED_PIN)
- You can load pre-built libraries like "picoruby-adc" and use ADC class
- That's cool, right?
- The clock will be persistent if you connect a battery-driven RTC module. Try it :)
- It's not for a serious usage but for demonstrating the viability of PicoRuby ;)
- This is what you want to do in a real development
- Now your Pi Pico is a stand-alone device