Skip to content

Some useful macros for ADC module #1513

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

Closed
wants to merge 1 commit into from
Closed

Some useful macros for ADC module #1513

wants to merge 1 commit into from

Conversation

Kucmasz
Copy link

@Kucmasz Kucmasz commented Sep 15, 2023

Implementation of 2 simple values related to ADC (reference voltage and max read value) that make calculations of actual voltage readings easier.

Also, since there is a linear relationship between ADC channels and GPIO pins connected to ADC, a simple conversion macro can be added to convert (redefined) GPIO pins number from any configuration list to an ADC channel related to them.

Fixes #1512

@kilograham kilograham added this to the none milestone May 20, 2024
@Kucmasz Kucmasz closed this by deleting the head repository Jul 10, 2024
@lurch lurch mentioned this pull request Jun 18, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants