Eurobot2012_Primary
Dependencies: mbed Eurobot_2012_Primary
Diff: Kalman/Kalman.cpp
- Revision:
- 7:f9c59a3e4155
- Parent:
- 5:7ac07bf30707
- Child:
- 8:ffc7d8af2d5a
--- a/Kalman/Kalman.cpp Fri Apr 27 14:29:56 2012 +0000 +++ b/Kalman/Kalman.cpp Fri Apr 27 16:37:26 2012 +0000 @@ -93,11 +93,13 @@ IRMeasures[k] = 0; } +/* #ifdef ROBOT_PRIMARY LPC_UART3->FCR = LPC_UART3->FCR | 0x06; // Flush the serial FIFO buffer / OR with FCR #else LPC_UART1->FCR = LPC_UART1->FCR | 0x06; // Flush the serial FIFO buffer / OR with FCR #endif +*/ ir.attachisr(); //wating untill the IR has reved up and picked up some data