disable receiver
This commit is contained in:
@@ -96,7 +96,7 @@ void uart_init() {
|
||||
|
||||
UCSR0C = ASYNCHRONOUS | PARITY_DISABLED | STOP_ONE_BIT | DATA_EIGHT_BIT; // 20.11.4 : set Frame Format
|
||||
|
||||
UCSR0B = RECEIVER_ENABLED | TRANSMITTER_ENABLED; // 20.11.3 : enable Receiver and Transmitter
|
||||
UCSR0B = RECEIVER_DISABLED | TRANSMITTER_ENABLED; // 20.11.3 : enable Receiver and/or Transmitter
|
||||
}
|
||||
|
||||
void uart_tx(char c) {
|
||||
|
||||
Reference in New Issue
Block a user