by JonHylands » Thu Sep 20, 2007 11:07 pm
by JonHylands
Thu Sep 20, 2007 11:07 pm
Yes, that's what all my device boards do...
The ATmega UART can selectively switch off the transmit and receive pins while it is operating, which is what the code my brother wrote does. In general, the Tx pin is disabled, and its in receive mode. When it needs to transmit an answer back again, it disables the Rx pin, enables the Tx, and then sends the response, and switches them back again.
Or something very close to that...
- Jon
Yes, that's what all my device boards do...
The ATmega UART can selectively switch off the transmit and receive pins while it is operating, which is what the code my brother wrote does. In general, the Tx pin is disabled, and its in receive mode. When it needs to transmit an answer back again, it disables the Rx pin, enables the Tx, and then sends the response, and switches them back again.
Or something very close to that...
- Jon