AVR UARTs; not quite ready.
[goodfet] / firmware / lib / arduino.c
index 0be48f3..503492c 100644 (file)
@@ -4,28 +4,29 @@
 */
 
 #include "platform.h"
+#ifdef ARDUINO
 
 #include <util/delay.h>
 
-#ifdef ARDUINO
-
 //! Arduino setup code.
 void arduino_init(){
   /* set PORTB for output*/
   DDRB = 0xFF;
-
+  
+  /*
   while (1)
     {
-      /* set PORTB.6 high */
+    //LED on
       PORTB = 0x20;
 
       _delay_ms(1000);
 
-      /* set PORTB.6 low */
+      //LED off
       PORTB = 0x00;
 
       _delay_ms(1000);
     }
+*/
 }
 
 #endif