Repair a verified behavior in earlephilhower/arduino-pico.
Repair a verified behavior in earlephilhower/arduino-pico.: a task in OriGent-RL-Data (Harbor dataset). On RP2040, repeated calls to analogRead() are unnecessarily slow because every call reconfigures the analog pin for ADC use and selects its ADC input, even when the same analog pin is read again…
The task
On RP2040, repeated calls to analogRead() are unnecessarily slow because every call reconfigures the analog pin for ADC use and selects its ADC input, even when the same analog pin is read again and no intervening operation has changed that pin's function. Within a session where the relevant pin state has not…
Part of henryen/OriGent-RL-Data.