Yorick Smilda

Results 25 comments of Yorick Smilda

The library wouldn't compile because the max buffer length define was different. Small change to the architecture check fixes it

Quick sanity check: 1. Did you change the Serial port to Serial1 for the leonardo and Serial for the uno? 2. Did you disconnect the USB on the uno when...

Also, what version of the library are you using?

Try printing out the content of the _responseBuffer to better analyse where the data entrance stops. If the `221` value isn't entered into the buffer that will show up. Otherwise...

The weird thing being that it does work on the UNO. Following the logic of L836 the program should never send anything, which is indeed a bug.

https://github.com/ProAce/ArduinoModbusSlave/tree/asefd I added some Serial debugging to this branch. Could you set the Serial port to 115200 baudrate and comment the response?

Then the isBroadcast function returns true because it detects a broadcast message. The weird thing is that that should also happen on the UNO. It's also weird that you have...

Integrating different sensors and PWM into your modbus enabled sketch is very easy, as long as you make sure you're able to call the poll() function often enough. How I...

@DpunktS We're not here to create your projects for you. I will however give you some more guidelines as in how to read the sensor values via modbus. What you...

@DpunktS usually when a i2c sensor hangs the Arduino when being read it is due to the Wire interface not initialised properly. Try calling Wire.begin() in your setup. P.s. Also...