Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: TextLCD MbedJSONValue libMotiv picojson mbed-rtos mbed
Fork of Mbed_MotiVControllerBox by
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
