yes
Diff: communication.h
- Revision:
- 0:2b8bbdd96dca
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/communication.h Mon Jun 24 01:21:15 2019 +0000 @@ -0,0 +1,19 @@ +#ifndef COMMUNICATION_H +#define COMMUNICATION_H + +// Define the orders that can be sent and received +enum Communication { + HELLO = 0, + RECEIVED = 1, + UP = 2, + DOWN = 3, + OK = 4, + BACK = 5, + POWER = 6, + BAD = 7, + ALREADY_CONNECTED = 8 +}; + +typedef enum Communication Communication; + +#endif \ No newline at end of file