Tim Wöstemeier / Mbed 2 deprecated MotiV_ControlBox

Dependencies:   TextLCD MbedJSONValue libMotiv picojson mbed-rtos mbed

Fork of Mbed_MotiVControllerBox by Tim Wöstemeier

devices/Flower.h

Committer:
TimWoo
Date:
2014-10-25
Revision:
0:2279181caaa1

File content as of revision 0:2279181caaa1:

#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