Thomas Milburn
/
FBRDash-tom
can't push chnages :(
Fork of FBRDash by
Diff: src/Comms.cpp
- Revision:
- 2:825f572902c6
- Parent:
- 1:b3907b8d9f65
- Child:
- 5:177520d43c87
--- a/src/Comms.cpp Mon Jun 25 21:01:02 2012 +0000 +++ b/src/Comms.cpp Mon Jun 25 21:20:22 2012 +0000 @@ -2,11 +2,15 @@ #include "mbed.h" #include "State.h" +//Process incoming data from Comms interfaces + +//Initialise members Comms::Comms(State* _values) { values = _values; } +//Process an incoming data packet void Comms::process_packet(unsigned char id, int length, unsigned char data[]) { switch(id)