Tim Wöstemeier / Mbed 2 deprecated MotiV_ControlBox

Dependencies:   TextLCD MbedJSONValue libMotiv picojson mbed-rtos mbed

Fork of Mbed_MotiVControllerBox by Tim Wöstemeier

Committer:
TimWoo
Date:
Sat Oct 25 00:11:12 2014 +0000
Revision:
0:2279181caaa1
Initial Version,; Bare classes made for the main application and the devices that will be controlled.

Who changed what in which revision?

UserRevisionLine numberNew contents of line
TimWoo 0:2279181caaa1 1 #ifndef MOTIV_DEVICE_H
TimWoo 0:2279181caaa1 2 #define MOTIV_DEVICE_H
TimWoo 0:2279181caaa1 3
TimWoo 0:2279181caaa1 4 #include "../MODSERIAL/MODSERIAL.h"
TimWoo 0:2279181caaa1 5 #include <string>
TimWoo 0:2279181caaa1 6
TimWoo 0:2279181caaa1 7 class Device
TimWoo 0:2279181caaa1 8 {
TimWoo 0:2279181caaa1 9 public:
TimWoo 0:2279181caaa1 10 Device(MODSERIAL* ms);
TimWoo 0:2279181caaa1 11 ~Device();
TimWoo 0:2279181caaa1 12
TimWoo 0:2279181caaa1 13 void sendMessage();
TimWoo 0:2279181caaa1 14
TimWoo 0:2279181caaa1 15 protected:
TimWoo 0:2279181caaa1 16 MODSERIAL* _ms;
TimWoo 0:2279181caaa1 17 string _msg;
TimWoo 0:2279181caaa1 18 };
TimWoo 0:2279181caaa1 19
TimWoo 0:2279181caaa1 20 #endif