angeloc/simplemodbusng

TXEnable not working?

Closed this issue · 1 comments

The Library works fine when i disable the txEnable Pin.
for tests i use this Shield
https://joy-it.net/de/products/ARD-RS485

Here I can select the DirectionControl with Jumper to PIN D9 or TX_CTRL. When i now use
modbus_configure(19200, 2, 9, TOTAL_REGS_SIZE, 0); with D9 it doesn't work anymore.

With
modbus_configure(19200, 2, 0, TOTAL_REGS_SIZE, 0);
and the jumper to TX_CTRL it works fine.

What is wrong? Why TxEnable Pin not working?

Hi,

I put in place a test jig with arduinos and a simple rs485 module. For me everything is fine, txenable works just fine and the bus is working correctly