Shuto Naruse
/
Eurobot2012_Secondary
Eurobot2012_Secondary
Fork of Eurobot_2012_Secondary by
Eurobot_shared/Kalman/IR/IR.h
- Committer:
- narshu
- Date:
- 2012-10-17
- Revision:
- 1:cc2a9eb0bd55
File content as of revision 1:cc2a9eb0bd55:
#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