it works
[slipway.git] / src / edu / berkeley / obits / device / atmel / AvrDrone.c
index 02fa4f9..63e6c78 100644 (file)
@@ -1,3 +1,9 @@
+// FIXMEs for SLIPWAY:\r
+//  - use INT3 instead of INT1\r
+//  - use PORTE[0:1] instead of PORTE[2:3]\r
+//  - use UART0 instead of UART1\r
+//  - clock frequency\r
+\r
 //\r
 // YOU MUST COMPILE THIS WITH -O3 OR THE AVR WILL NOT BE ABLE TO KEEP UP!!!!\r
 //\r
@@ -138,7 +144,7 @@ void init() {
   write_buf_tail = 0;\r
   EIMF  = 0xFF;                          /* Enalbe External Interrrupt*/  \r
   DDRD = 0xFF;                           /* Configure PORTD as Output */\r
-  DDRE = 1 << 4;                         /* ability to write to E */\r
+  DDRE = 1 << 4;                         /* ability to write to E4 */\r
   initUART1(12, 1);  //for slow board\r
   //initUART1(1, 0);\r
   fpga_interrupts(1);\r