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

Configurable rounding options in Digitizer #224

Closed
weihythu opened this issue May 30, 2023 · 1 comment
Closed

Configurable rounding options in Digitizer #224

weihythu opened this issue May 30, 2023 · 1 comment

Comments

@weihythu
Copy link
Member

In the current Digitizer, we have either float ADC output or round() [halfway rounding].
Can we add another configurable choice to use floor() as the rounding method?

@brettviren
Copy link
Member

This is now merged. Digitizer now has an option called round which will round to the nearest integer if true (false by default).

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

No branches or pull requests

2 participants