ac-real-io/acrealio/LedBoard.h

30 lines
482 B
C
Raw Permalink Normal View History

#ifndef LEDBOARD_H
#define LEDBOARD_H
2013-09-07 10:46:05 -04:00
#include "Arduino.h"
#include "Node.h"
#include "SoftPWMRGB.h"
2013-09-07 10:46:05 -04:00
class LedBoard: public Node
{
public:
LedBoard(char* rCode); //contructor
void init();
short processRequest(byte* request, byte* sendBuff);
void update();
2017-01-25 15:59:19 -05:00
public:
2013-09-07 10:46:05 -04:00
private:
2017-01-25 15:59:19 -05:00
byte ledStatus[18];
// Software PWM RGB light
SoftPWMRGB LED6;
// Values for the software PWM RGB light
int valLED6_R;
int valLED6_G;
int valLED6_B;
2013-09-07 10:46:05 -04:00
};
2017-01-25 15:59:19 -05:00
#endif