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: C12832 LM75B mbed EthernetInterface mbed-rtos
Diff: slave.cpp
- Revision:
- 0:88d3b9015f7c
- Child:
- 1:b5c534165dfe
diff -r 000000000000 -r 88d3b9015f7c slave.cpp
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/slave.cpp Mon Feb 26 11:25:59 2018 +0000
@@ -0,0 +1,28 @@
+#include "slave.h"
+
+namespace ProjectOne{
+
+ Slave::Slave(void){
+ CurrentSlaveState = STATE_WAIT_FOR_FRAME;
+ }
+
+ void Slave::handleIncomingFrame(void){
+ switch(CurrentSlaveState){
+ case STATE_WAIT_FOR_FRAME:
+ {
+ break;
+ }
+ case STATE_HANDLE_FRAME:
+ {
+ break;
+ }
+ case STATE_HANDLE_REQUEST:
+ {
+ break;
+ }
+
+ }
+ }
+
+
+}
\ No newline at end of file