Jeff Epler recently added some new PIO functionality to the core of CircuitPython: the background_write function. This lets Python code continue running while data is being sent to a PIO peripheral. The guide “An Introduction to RP2040 PIO with CircuitPython” has now been updated with several new pages to show some things this enables:
- Advanced: Generating Morse Code with Background Writes
- Advanced: Driving 7-segment displays with Background Writes
- Advanced: Using PIO to drive NeoPixels “in the background”
- Advanced: Using PIO to control Servos with Background Writes
Check out the new pages, or if you are new to PIO with CircuitPython, start at the beginning.
No comments:
Post a Comment