We are going to win! wohoo

Dependencies:   mbed mbed-rtos

Kalman/IR/IR.h

Committer:
sv
Date:
2012-11-07
Revision:
1:6799c07fe510

File content as of revision 1:6799c07fe510:


#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