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

Sample temp sensor does not compile #79

Open
joeatbayes opened this issue Mar 9, 2024 · 0 comments
Open

Sample temp sensor does not compile #79

joeatbayes opened this issue Mar 9, 2024 · 0 comments

Comments

@joeatbayes
Copy link

joeatbayes commented Mar 9, 2024

In File: https://github.com/epsilonrt/modbus-serial/blob/master/examples/TempSensor/TempSensor.ino on Line #53 it shows:
mb.Ireg (SensorIreg, analogRead (SensorPin));

This is inconsistent with header defined in the header file that shows that function accepting a single parameter. I think you need ** mb.setIreg(SensorIreg, reading);**

Also where can I find more data on exchanging 32 bit floats?

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

1 participant