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
Currently analog::AnalogInput allows ADC on-demand (just by calling sample()).
AVR MCU ADC circuitry offers more interesting features, in particular "auto trigger" which allows repeated sampling on an analog input pin.
It would be nice to support this feature and propose a callback notification when e.g. latest sample has changed.
This may require refactoring of analog namespace because auto-trigger mode can work with only one analog input and shall prevent on-demand sampling while active.
The text was updated successfully, but these errors were encountered:
Currently
analog::AnalogInput
allows ADC on-demand (just by callingsample()
).AVR MCU ADC circuitry offers more interesting features, in particular "auto trigger" which allows repeated sampling on an analog input pin.
It would be nice to support this feature and propose a callback notification when e.g. latest sample has changed.
This may require refactoring of
analog
namespace because auto-trigger mode can work with only one analog input and shall prevent on-demand sampling while active.The text was updated successfully, but these errors were encountered: