Eurobot2012_Primary
Dependencies: mbed Eurobot_2012_Primary
Diff: Eurobot_shared/Kalman/IR/IR.h
- Revision:
- 16:b3dd4e0b3100
- Parent:
- 15:acae5c0e9ca8
- Child:
- 17:bafcef1c3579
--- a/Eurobot_shared/Kalman/IR/IR.h Sat Apr 28 22:21:03 2012 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,25 +0,0 @@ - -#ifndef IR_H -#define IR_H - -#include "mbed.h" - -//forward declaration of class Kalman to avoid cyclic include -class Kalman; - -class IR { -public: - - Serial IRserial; - - IR(Kalman &kalmanin); - void detachisr(); - void attachisr(); - void vIRValueISR (void); - -private: -//reference to the kalman object to run the updates on - Kalman& kalman; -}; - -#endif //IR_H \ No newline at end of file