Eurobot2012_Primary
Dependencies: mbed Eurobot_2012_Primary
IR.h
00001 00002 #ifndef IR_H 00003 #define IR_H 00004 00005 #include "mbed.h" 00006 00007 //forward declaration of class Kalman to avoid cyclic include 00008 class Kalman; 00009 00010 class IR { 00011 public: 00012 00013 Serial IRserial; 00014 00015 IR(Kalman &kalmanin); 00016 void detachisr(); 00017 void attachisr(); 00018 void vIRValueISR (void); 00019 00020 private: 00021 //reference to the kalman object to run the updates on 00022 Kalman& kalman; 00023 }; 00024 00025 #endif //IR_H
Generated on Tue Jul 12 2022 21:49:57 by 1.7.2