Skip to content

Asynchronous ADC timed readings #13742

Discussion options

You must be logged in to vote

1KHz is too fast for an asyncio solution. One approach would be to do the ADC read in a hard ISR. The micropython-filters repo illustrates realtime data capture on STM32. The lpf.py demo uses a timer ISR to capture data.

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@saraverbeecke
Comment options

@peterhinch
Comment options

Answer selected by saraverbeecke
@saraverbeecke
Comment options

@peterhinch
Comment options

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