You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
pbio/drv/adc: Use microseconds for settling time delay.
A full ADC roundtrip is now close to 80 us, so we don't need to wait 2ms. This also avoids rounding errors where you might sometimes wait a whole millisecond longer.
Also use pbio_os_timer_extend in the ADC loop for more constant loop time.
Combined with previous runloop improvements, this makes the RGB light on the NXT Color Sensor blink without visual stutters. See pybricks/support#2301
0 commit comments