From e080531ac645470bda6c2959283cf46f35cfcdc0 Mon Sep 17 00:00:00 2001 From: hugo LAMY Date: Fri, 7 Mar 2025 07:47:28 +0100 Subject: [PATCH] disable receiver --- module02/ex00/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/module02/ex00/main.c b/module02/ex00/main.c index 1f36848..dea9cbb 100644 --- a/module02/ex00/main.c +++ b/module02/ex00/main.c @@ -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) {