hx711-pico-c
hx711-pico-c copied to clipboard
Multiple hx711s wastes PIO/SM resources
Each time a hx711_t is init'd, a copy of the PIO program is inserted into one of the RP2040's PIOs. It should instead:
- check if the program already exists in PIO memory
- if not, add it
- then set up an individual state machine with the program counter pointing to the program
Many SMs to one PIO.