Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support ADC auto trigger modes. #26

Open
jfpoilpret opened this issue Feb 25, 2018 · 1 comment
Open

Support ADC auto trigger modes. #26

jfpoilpret opened this issue Feb 25, 2018 · 1 comment

Comments

@jfpoilpret
Copy link
Owner

jfpoilpret commented Feb 25, 2018

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.

@jfpoilpret jfpoilpret added this to the 1.1 milestone Feb 25, 2018
@jfpoilpret jfpoilpret removed this from the 1.1 milestone Apr 12, 2019
@jfpoilpret jfpoilpret added this to the 2.0 milestone Jun 6, 2019
@jfpoilpret jfpoilpret removed this from the 2.0 milestone Aug 26, 2019
@jfpoilpret
Copy link
Owner Author

Remove planned milestone as it is not clear how important this enhancement can be.
I will replan it only when I get requests to do so.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant