Tim Wöstemeier / Mbed 2 deprecated MotiV_ControlBox

Dependencies:   TextLCD MbedJSONValue libMotiv picojson mbed-rtos mbed

Fork of Mbed_MotiVControllerBox by Tim Wöstemeier

Revision:
0:2279181caaa1
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/devices/Flower.h	Sat Oct 25 00:11:12 2014 +0000
@@ -0,0 +1,22 @@
+#ifndef MOTIV_FLOWER_H
+#define MOTIV_FLOWER_H
+
+#include "../MODSERIAL/MODSERIAL.h"
+#include "Device.h"
+
+class Flower : public Device
+{
+public:
+    Flower(MODSERIAL* ms);
+    ~Flower();
+
+    int id; //Id needed to control the right flower
+    void setLed(int state); //Set THE LED to state. 0=off, 1=on
+
+private:
+    enum COMMANDS {
+        SET_LED = 6
+    };
+};
+
+#endif
\ No newline at end of file