reformat, to ease configuration
This commit is contained in:
parent
c9168bb1fd
commit
5b398f1de4
@ -25,7 +25,12 @@ DeviceDht deviceDht(PIN_DHT, TYPE_DHT);
|
||||
#define PIN_POWER D0
|
||||
DeviceIrRx deviceIrRx(PIN_IRRX, PIN_POWER);
|
||||
|
||||
Device* devices[] = { &deviceLed, &deviceLdr, &deviceDht, &deviceIrRx };
|
||||
Device* devices[] = {
|
||||
&deviceLed,
|
||||
&deviceLdr,
|
||||
&deviceDht,
|
||||
&deviceIrRx,
|
||||
};
|
||||
|
||||
void setupHandler() {
|
||||
for (int i = 0; i < sizeof(devices) / sizeof(*devices); i++) {
|
||||
|
Loading…
Reference in New Issue
Block a user