can send data but not receive
hi
I am using your code with a nodemcu module .The tcp master is a simulator and a the rtu slave is a simulator . the tcp master sends a funcion 3 message and the rtu slave will receive and respond , but my tcp master never receives the reply from the rtu slave . The rx and tx for the softwareserial is working , I have tested this with softwareSerial example .
hi ng I have it working now , i had to edit "else if (micros() < _timeToReceive) {" to "else if (micros() > _timeToReceive) {" . timeout on no response is still working .
Thanks, I'll make sure I update that.
Graham. On Jun 4, 2016 1:56 PM, "frankdunn" [email protected] wrote:
hi ng I have it working now , i had to edit "else if (micros() < _timeToReceive) {" to "else if (micros() > _timeToReceive) {" . timeout on no response is still working .
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/graham22/ModbusAdapter/issues/1#issuecomment-223769204, or mute the thread https://github.com/notifications/unsubscribe/AFGATV_nWy8Y1Q5l8oZr8THZcnm36EQHks5qIbxBgaJpZM4It0vW .