Closed matiasbarone closed 7 months ago
I found the problem, was all mine. I feel so noob.
The readValue
and writeValue
arrays were of 125 registers. And th offset in both cases were 100. If I make bigger the arrays or take the offset to 0 I can trasfer more bytes and no more illegal address
I need to read/write many registers. When I use
readWriteHreg
and set more than 25 registers the callback function receivesEX_ILLEGAL_ADDRESS
What could be the problem, or what can I change in the configuration to avoid it?Im using a ESP32S2 with arduino