renamed LED to RGB, since that's what it is
This commit is contained in:
@ -1,16 +1,16 @@
|
||||
#include <Homie.h> // https://github.com/marvinroger/homie-esp8266
|
||||
|
||||
#include "DeviceLed.h"
|
||||
#include "DeviceRgb.h"
|
||||
#include "DeviceLdr.h"
|
||||
#include "DeviceDht.h"
|
||||
#include "DeviceIrRx.h"
|
||||
#include "DeviceIrTx.h"
|
||||
#include "DeviceButton.h"
|
||||
|
||||
const byte PIN_LED_RED = D8;
|
||||
const byte PIN_LED_GREEN = D6;
|
||||
const byte PIN_LED_BLUE = D7;
|
||||
DeviceLed deviceLed(PIN_LED_RED, PIN_LED_GREEN, PIN_LED_BLUE);
|
||||
const byte PIN_RGB_RED = D8;
|
||||
const byte PIN_RGB_GREEN = D6;
|
||||
const byte PIN_RGB_BLUE = D7;
|
||||
DeviceRgb deviceRgb(PIN_RGB_RED, PIN_RGB_GREEN, PIN_RGB_BLUE);
|
||||
|
||||
const byte PIN_LDR = A0;
|
||||
DeviceLdr deviceLdr(PIN_LDR);
|
||||
@ -30,7 +30,7 @@ const byte PIN_BUTTON = D2;
|
||||
DeviceButton deviceButton(PIN_BUTTON);
|
||||
|
||||
Device* devices[] = {
|
||||
&deviceLed,
|
||||
&deviceRgb,
|
||||
&deviceLdr,
|
||||
&deviceDht,
|
||||
&deviceIrRx,
|
||||
|
Reference in New Issue
Block a user