![](/media/cache/profiles/8cf40e328089249cf77075692aa0c09b.jpg.50x50_q85.jpg)
Thermometer connected to internet
Dependencies: BME280 EthernetInterface FXOS8700Q HTTPClient-wolfSSL NTPClient NetworkAPI OAuth4Tw TSL2561_I2C eCompass_FPU_Lib mbed-rtos mbed wolfSSL
Fork of TCP_Server_Example by
Diff: StatusLED.h
- Revision:
- 12:12369ee344ab
diff -r 90554d22ade5 -r 12369ee344ab StatusLED.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/StatusLED.h Sun Sep 27 11:04:54 2015 +0000 @@ -0,0 +1,27 @@ +#ifndef STATUS_LED_H +#define STATUS_LED_H + +// MBED System Header +#include "mbed.h" +#include "rtos.h" + +#define HBLED_CYCLE 1000 // 1000ms +#define START_THREAD 1 + +class StatusLED +{ +private: + DigitalOut *pHBLed; + DigitalOut *pDataLed; + DigitalOut *pServerLed; +public: + StatusLED(DigitalOut *_pHBLed,DigitalOut *_pDataLed, DigitalOut *_pServerLed); + void HBLedTick(); +}; + +void HBLedTicker(void const *args); + +extern StatusLED *pOBStatusLED; + +#endif +