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

Add Support for U.S. Solid JDBS Scales #48

Merged
merged 11 commits into from
May 21, 2024

Conversation

ullbergm
Copy link
Contributor

Description:
This pull request introduces support for the U.S. Solid JDBS scales. Specifically, it has been tested with the JFDBS00058-100G.

Changes:

  • Added support for U.S. Solid JDBS scales.
  • Implemented error checking to return NaN if strtof fails to decode the data.

Testing:

  • Tested with JFDBS00058-100G model.
  • Verified correct data parsing and handling.
  • Confirmed error handling returns NaN on strtof failure.

@ullbergm
Copy link
Contributor Author

ullbergm commented May 19, 2024

Just realized that I should probably add some documentation for how to set it to auto-output the data.

Let me know how you want that documented in here.

@ullbergm ullbergm marked this pull request as draft May 19, 2024 12:00
@ullbergm ullbergm marked this pull request as ready for review May 19, 2024 12:15
@ullbergm
Copy link
Contributor Author

never mind, looks like that documentation is in the OpenTrickler repo.

}

static void force_zero() {
// TODO: Not implemented
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is the force zero function possible on this scale?

@eamars eamars merged commit 66b90af into eamars:main May 21, 2024
1 check passed
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

Successfully merging this pull request may close these issues.

2 participants