# Ring oscillator with RP2040 PIO, MicroPython implementation
# Ring oscillator with RP2040 PIO
This is a demonstration of the RP2040's PIO system, which let you run several state machines independently of the CPU. There's exactly 0 overhead and the state machines run a custom assembly language with simplified instructions.
# Ring oscillator with RP2040 PIO, C implementation
# Ring oscillator with RP2040 PIO, MicroPython implementation
Here is a MicroPython implementation of using the RP2040's PIO system for a [ring oscillator](https://pub.pages.cba.mit.edu/ring/). The PIO asm is a one liner: