avr-equeue

diff serial.c @ 2:9b7983ee2a89

changed the baud rate to 38400
author John Tsiombikas <nuclear@member.fsf.org>
date Tue, 15 Jul 2014 02:42:47 +0300
parents 9cb1db5d0e7c
children
line diff
     1.1 --- a/serial.c	Sun Jul 13 12:18:14 2014 +0300
     1.2 +++ b/serial.c	Tue Jul 15 02:42:47 2014 +0300
     1.3 @@ -12,7 +12,7 @@
     1.4  #include <avr/interrupt.h>
     1.5  #include <avr/power.h>
     1.6  
     1.7 -#define BAUD		9600
     1.8 +#define BAUD		38400
     1.9  #define UBRR_VAL	(F_CLK / 16 / BAUD - 1)
    1.10  
    1.11  static int uart_send_char(char c, FILE *fp);