deconfigure button

This commit is contained in:
Ronald Schaten 2016-12-23 00:02:50 +01:00
parent 9bf2ed09aa
commit 23d3c314c2

View File

@ -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,
};