Update Overkapping.ino
Pin wijzigingen Buzzer op D8 en RF op D4, zodat D1 en D2 vrij zijn voor I2C
This commit is contained in:
parent
df5ad396c5
commit
0d04297a29
@ -7,7 +7,7 @@
|
|||||||
#include <PubSubClient.h>
|
#include <PubSubClient.h>
|
||||||
#include <ArduinoJson.h>
|
#include <ArduinoJson.h>
|
||||||
|
|
||||||
#define BUZZER_PIN D2
|
#define BUZZER_PIN D8
|
||||||
|
|
||||||
const char* ssid = "FrankHilde";
|
const char* ssid = "FrankHilde";
|
||||||
const char* password = "HildeFrank";
|
const char* password = "HildeFrank";
|
||||||
@ -140,7 +140,7 @@ void setup() {
|
|||||||
|
|
||||||
|
|
||||||
// Transmitter is connected to Arduino Pin #10
|
// Transmitter is connected to Arduino Pin #10
|
||||||
mySwitch.enableTransmit(D1);
|
mySwitch.enableTransmit(D4);
|
||||||
|
|
||||||
// Optional set protocol (default is 1, will work for most outlets)
|
// Optional set protocol (default is 1, will work for most outlets)
|
||||||
mySwitch.setProtocol(1);
|
mySwitch.setProtocol(1);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user