We are going to win! wohoo

Dependencies:   mbed mbed-rtos

Kalman/IR/IR.h

Committer:
madcowswe
Date:
2012-11-14
Revision:
9:08552997b544
Parent:
1:6799c07fe510

File content as of revision 9:08552997b544:


#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