first test transmitting IR
This commit is contained in:
@ -4,6 +4,7 @@
|
||||
#include "DeviceLdr.h"
|
||||
#include "DeviceDht.h"
|
||||
#include "DeviceIrRx.h"
|
||||
#include "DeviceIrTx.h"
|
||||
|
||||
// HAS_LED
|
||||
#define PIN_LED_RED D8
|
||||
@ -25,11 +26,16 @@ DeviceDht deviceDht(PIN_DHT, TYPE_DHT);
|
||||
#define PIN_POWER D0
|
||||
DeviceIrRx deviceIrRx(PIN_IRRX, PIN_POWER);
|
||||
|
||||
// HAS_IRTX
|
||||
#define PIN_IRTX D2
|
||||
DeviceIrTx deviceIrTx(PIN_IRTX);
|
||||
|
||||
Device* devices[] = {
|
||||
&deviceLed,
|
||||
&deviceLdr,
|
||||
&deviceDht,
|
||||
&deviceIrRx,
|
||||
&deviceIrTx,
|
||||
};
|
||||
|
||||
void setupHandler() {
|
||||
|
Reference in New Issue
Block a user