AVR baud rates are good, but the values are hackish.
[goodfet] / firmware / lib / arduino.c
index 870f46e..698aa9e 100644 (file)
 void arduino_init(){
   /* set PORTB for output*/
   DDRB = 0xFF;
-
-  while (1)
-    {
-      /* set PORTB.6 high */
-      PORTB = 0x20;
-
-      _delay_ms(1000);
-
-      /* set PORTB.6 low */
-      PORTB = 0x00;
-
-      _delay_ms(1000);
-    }
+  
+  avr_init_uart0();
 }
 
 #endif