Own fork of MbedSmartRestMain
Dependencies: C027_Support C12832 LM75B MMA7660 MbedSmartRest mbed-rtos mbed
Fork of MbedSmartRestMain by
Diff: io/DeviceFeedback.h
- Revision:
- 93:61d44636f020
- Parent:
- 92:0acd11870c6a
--- a/io/DeviceFeedback.h Mon Apr 13 14:24:58 2015 +0000 +++ b/io/DeviceFeedback.h Mon Apr 20 15:04:23 2015 +0000 @@ -1,36 +1,7 @@ #ifndef DEVICEFEEDBACK_H #define DEVICEFEEDBACK_H -#include <stddef.h> -#include "mbed.h" -#include "rtos.h" - -class DeviceFeedback -{ -public: - DeviceFeedback(); - -// void beepSuccess(); -// void beepFailure(); - void closeRelay(); - void openRelay(); - -protected: -// void sendMessage(uint8_t); -// void thread(); -// static void thread_func(void const*); - -private: -// PwmOut _speaker; -// Thread _thread; - - /* LED lights on the application shield, consists of three colors: Red, Blue, Green. - * Note: value 0 means fully on for a color, 255 means off. - */ - DigitalOut shieldLEDRed; - DigitalOut shieldLEDBlue; - DigitalOut shieldLEDGreen; -// Mail<uint8_t, 16> _mail; -}; +void closeRelay(); +void openRelay(); #endif \ No newline at end of file