Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: mbed TextLCD PinDetect
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)
