1) Is it as simple as using the Flowcode V3 RS232 component to drive the RS485 driver plus an output to control RE & DE?
2) Can both the Max232 and the RS485 driver be connected to RX & TX in parallel and function normally? OR Do I need to put a DPDT switch in line with RX & TX to switch between the Max232 and RD485 driver?
3) If the Slaves use a different power supply than the Master, do I need to tie the grounds of the slaves to the Master? I really do not want to do this but could as the Ethernet cables I want to use has 4 conductors (2 for COMM, 2 for Ground). Is there an Isolator i can use to avoid connecting the grounds if it is necessary?
Benj wrote:Hello Ron,
Sorry ts_bit is a v4 command.
change this to test_bit().
So the command becomes.
while (test_bit(txsta, TRMT) == 0);
while ((test_bit(UCSR0A, TXC0)) == 0);
Users browsing this forum: No registered users and 2 guests