A full micropython project build while studying the pico #10463
webdeb
started this conversation in
Show and tell
Replies: 1 comment 1 reply
-
Thanks for the heads up on I have used mem32 and ptr32 (a Viper type) to directly access the Pico's registers (PWM by coincidence). From what I see in the documentation, |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Repository 👉 https://github.com/webdeb/hackpwm
nanoSHIM aka hackPWM
This is a full rp2040 (aka pico) micropython project which implements some cool stuff and controls multiple PWM outputs. It can be extended to use all of the 8 PWM slices, which are provided by the pico. Actually it can be extended much more than that and I had to force me to stop implementing more fancy stuff.
I build this project with the aim to learn python, and the pico. To see what the rp2040 offers, and how to build things with it. So I played around.
Implemented Features
uctypes
to access rp2040 registers directly from micropythonThanks
Thanks to all, who helped me during my first baby steps into python, micropython, pico and the world of microcontrollers. Maybe thats not my last project. Star this repo. (But don't double-click)
Beta Was this translation helpful? Give feedback.
All reactions