From 6feec2b706fa5ebf82643c95bfd171b050417233 Mon Sep 17 00:00:00 2001 From: jakegoodwin Date: Sat, 18 Feb 2023 23:36:18 -0800 Subject: [PATCH] changed to even parity in demo main function. --- src/avr_usart.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/avr_usart.c b/src/avr_usart.c index 6e9ee41..7a4d19a 100644 --- a/src/avr_usart.c +++ b/src/avr_usart.c @@ -25,9 +25,8 @@ int main() { init_usart0(); - //enable parity, because the internal - //crystal is garbage - serial0_enable_parity_bit(2); + //enable even parity + serial0_enable_parity_bit(1); //enable interrupts sei();