Skip to content

Commit e0c182b

Browse files
authored
Removing FTDebouncer from the example since it's a left-over from previous code and is not actively being used within the sketch (#16)
1 parent 86fee74 commit e0c182b

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

examples/ConnectionHandlerDemo/ConnectionHandlerDemo.ino

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
#include "arduino_secrets.h"
22

33
#include <Arduino_WiFiConnectionHandler.h>
4-
#include <FTDebouncer.h>
54

65
/* SECRET_ fields are in arduino_secrets.h included above
76
if using a WiFi board (Arduino MKR1000, MKR WiFi 1010, Nano 33 IoT, UNO
@@ -25,22 +24,13 @@
2524

2625
WiFiConnectionHandler conMan(SECRET_SSID, SECRET_PASS);
2726

28-
#define PIN_CONNECT 2
29-
#define PIN_DISCONNECT 4
30-
31-
FTDebouncer deb;
32-
3327
void setup() {
3428
Serial.begin(9600);
3529
// give a few seconds for the Serial connection to be available
3630
delay(4000);
3731

3832
setDebugMessageLevel(2);
3933

40-
deb.addPin(PIN_CONNECT, HIGH, INPUT_PULLUP);
41-
deb.addPin(PIN_DISCONNECT, HIGH, INPUT_PULLUP);
42-
deb.init();
43-
4434
// the following methods allow the sketch to be notified when connected or
4535
// disconnected to the network
4636

0 commit comments

Comments
 (0)