
ControllerBox directs electromechanical equipment in restaurants to display information.
Dependencies: TextLCD MbedJSONValue libMotiv picojson mbed-rtos mbed
Fork of Mbed_MotiVControllerBox by
Diff: devices/Device.cpp
- Revision:
- 1:d54aed10ddf3
- Parent:
- 0:2279181caaa1
- Child:
- 2:ad4509a9d051
--- a/devices/Device.cpp Sat Oct 25 00:11:12 2014 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,23 +0,0 @@ -#include "Device.h" -#include "../MODSERIAL/MODSERIAL.h" - -using namespace AjK; - -Device::Device(MODSERIAL* ms) - :_ms(ms), - _msg(0) -{ - -} - -Device::~Device() -{ - delete _ms; -} - -void Device::sendMessage() -{ - if(sizeof(_msg)) { - _ms->printf("%s;", _msg); - } -} \ No newline at end of file