MSCAN Updated
Fork of MSCAN by
CANComms.h
- Committer:
- intrinseca
- Date:
- 2013-02-17
- Revision:
- 3:b7fc317e0183
- Parent:
- 0:4bd0966a0718
- Child:
- 6:c857749f9c0c
File content as of revision 3:b7fc317e0183:
#ifndef FBRDASH_CANCOMMS_H #define FBRDASH_CANCOMMS_H #include "mbed.h" #include "State.h" #include "Comms.h" class CANComms : public Comms { public: CANComms(State* _values, bool poll, float poll_interval); virtual void send(char message); private: Ticker* pollTicker; Ticker* readTicker; CAN* can; void receive(); void poll(); }; #endif