andresarmento/modbus-arduino

right baud (ESP13 shield)

Opened this issue · 0 comments

I just try to use Lamp.ino but I have some not clear stuff whit it. I have mega2560 end esp13 shield. What is the right baud in Lamp.ino /ESP8266 wifi(wifiSerial, xxxx)? Do I have to modify the baud in ESP8266.h / ESP8266 wifi(wifiSerial, xxxx) too? Now the phenomenon is that the Arduino send me an answer for my question but it is not right Modbus telegram. Telegram is too short (FF FF) when 9600 baud is in used and telegram is long short when 115200 is in used. Of course I change the baud in ESP8266 side to. I have tried too with hardware serial too but it has was same. Could anybody help me?
Thank you for all your help!