Skip to content

Conversation

@TheSlowGrowth
Copy link
Contributor

@TheSlowGrowth TheSlowGrowth commented Jul 29, 2024

This PR adds a "conversion complete" callback to the AdcHandle similar to the ones found in other drivers.
This would allow users to actually know when a conversion is complete, as opposed to blindly reading the data off the AdcHandle without knowing if it's actually new.
A different solution would be to provide a "running counter" that increments on each completed conversion, as a means of identifying from the outside that new data is available.
This PR is just a proposal, of course. Happy to discuss other approaches!

@github-actions
Copy link

github-actions bot commented Jul 29, 2024

Test Results

151 tests  ±0   151 ✅ ±0   0s ⏱️ ±0s
 16 suites ±0     0 💤 ±0 
  1 files   ±0     0 ❌ ±0 

Results for commit 29be422. ± Comparison against base commit f7727ed.

♻️ This comment has been updated with latest results.

@TheSlowGrowth TheSlowGrowth force-pushed the feature/TSG/adc-conversion-complete-callback branch from 4fdf54c to 29be422 Compare July 29, 2024 17:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants