can't push chnages :(
Dependencies: PinDetect TextLCD mbed
Fork of FBRDash by
inc/PCComms.h@1:b3907b8d9f65, 2012-06-25 (annotated)
- Committer:
- intrinseca
- Date:
- Mon Jun 25 21:01:02 2012 +0000
- Revision:
- 1:b3907b8d9f65
Prototype before adding full CAN comms
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
intrinseca | 1:b3907b8d9f65 | 1 | #ifndef FBRDASH_PCCOMMS_H |
intrinseca | 1:b3907b8d9f65 | 2 | #define FBRDASH_PCCOMMS_H |
intrinseca | 1:b3907b8d9f65 | 3 | |
intrinseca | 1:b3907b8d9f65 | 4 | #include "mbed.h" |
intrinseca | 1:b3907b8d9f65 | 5 | #include "State.h" |
intrinseca | 1:b3907b8d9f65 | 6 | #include "Comms.h" |
intrinseca | 1:b3907b8d9f65 | 7 | |
intrinseca | 1:b3907b8d9f65 | 8 | class PCComms : public Comms |
intrinseca | 1:b3907b8d9f65 | 9 | { |
intrinseca | 1:b3907b8d9f65 | 10 | public: |
intrinseca | 1:b3907b8d9f65 | 11 | PCComms(State* _values); |
intrinseca | 1:b3907b8d9f65 | 12 | virtual void send(char message); |
intrinseca | 1:b3907b8d9f65 | 13 | |
intrinseca | 1:b3907b8d9f65 | 14 | private: |
intrinseca | 1:b3907b8d9f65 | 15 | State* values; |
intrinseca | 1:b3907b8d9f65 | 16 | Serial* pc; |
intrinseca | 1:b3907b8d9f65 | 17 | |
intrinseca | 1:b3907b8d9f65 | 18 | void receive(); |
intrinseca | 1:b3907b8d9f65 | 19 | }; |
intrinseca | 1:b3907b8d9f65 | 20 | |
intrinseca | 1:b3907b8d9f65 | 21 | #endif |