Skip to content

CarlKCarlK/pico_pio

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

60 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Pico PIO Theremin

This repository contains the code used in these in Towards Data Science articles:

It uses the PIO features of the Raspberry Pi Pico to generate sound and handle input from an ultrasonic rangefinder. The examples include a backup beeper, a melody player, and a theremin-like instrument.

Python

To run the various MicroPython examples, edit the main.py. See the article for some details on getting the code onto the Pico.

Rust

To run the various Rust examples, use the following commands:

  • cargo run --example backup_demo
  • cargo run --example sound_demo
  • cargo run --example distance_demo
  • cargo run --example distance_debug
  • cargo run --example theremin
  • cargo run --example theremin_no_pio --release

See the article for some details on getting the code onto the Pico.

License

This project is licensed under either of:

at your option.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published