deconfigure button
This commit is contained in:
parent
9bf2ed09aa
commit
23d3c314c2
@ -8,19 +8,16 @@
|
||||
* - Upload Speed: "1152200"
|
||||
*/
|
||||
|
||||
#include "DeviceButton.h"
|
||||
#include "DeviceRelay.h"
|
||||
|
||||
const char* FWNAME = "things@Sonoff";
|
||||
|
||||
const byte PIN_BUTTON = 0;
|
||||
DeviceButton deviceButton(PIN_BUTTON);
|
||||
|
||||
const byte PIN_RELAY = 12;
|
||||
DeviceRelay deviceRelay(PIN_RELAY, "relay");
|
||||
|
||||
Device* devices[] = {
|
||||
&deviceButton,
|
||||
&deviceRelay,
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user