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

Possible to send float datatype? #336

Closed
bvtvusn opened this issue Feb 18, 2024 · 1 comment
Closed

Possible to send float datatype? #336

bvtvusn opened this issue Feb 18, 2024 · 1 comment

Comments

@bvtvusn
Copy link

bvtvusn commented Feb 18, 2024

Hi, is there a simple way to send and receive float values stored inside holding registers?
The software on my computer expects float values on the arduino slave. Right now, I am using reinterpret cast and bitmasks to convert the float values to uint16 before sending it over modbus.

@emelianov
Copy link
Owner

#158

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

No branches or pull requests

2 participants