Conversation
* Updated example to log data faster and to log data as numbers to enable plotting using uart-serial-plotter * Updated readme
* Use alert functionality on digital input in example (on button press) * Update how alert logic is configured (and enable threshold comparison when enabling alerts) * Fix bug in how registers are read when calling get_event_data (they were assumed to be contiguous, but they are not) * expose functions for clearing high/low event flags * Add function for performing software reset of ads
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Ads7138component which allows for control of:Motivation and Context
The existing
Ads1x15component is nice, but only supports ADC, has fewer analog input channels, and cannot run analog to digital conversions autonomously (and therefore also doesn't support the additional statistics that this chip does). Supporting this ADS7138 enables more complex systems to be built more efficiently.How has this been tested?
Building and running the new example.
Screenshots (if appropriate, e.g. schematic, board, console logs, lab pictures):
With console output:
ads7138_example.mp4
Plotted using uart_serial_plotter:
ads7138_example_plotted.mp4
Types of changes
Checklist:
Software
.github/workflows/build.ymlfile to add my new test to the automated cloud build github action.