hx711-pico-c icon indicating copy to clipboard operation
hx711-pico-c copied to clipboard

Multiple hx711s wastes PIO/SM resources

Open endail opened this issue 11 months ago • 1 comments

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.

endail avatar Jul 12 '23 12:07 endail