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
slave.h
- Committer:
- bertgereels
- Date:
- 2018-02-26
- Revision:
- 0:88d3b9015f7c
- Child:
- 1:b5c534165dfe
File content as of revision 0:88d3b9015f7c:
#pragma once
#include "mbed.h"
namespace ProjectOne{
class Slave{
public:
Slave(void);
void handleIncomingFrame(void);
private:
enum slaveStates{
STATE_WAIT_FOR_FRAME,
STATE_HANDLE_FRAME,
STATE_HANDLE_REQUEST
};
slaveStates CurrentSlaveState;
};
};