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 Roy van Dam

StatusLED.h

Committer:
zeus3110
Date:
2015-09-27
Revision:
12:12369ee344ab

File content as of revision 12:12369ee344ab:

#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