Need to set some pin modes.
This commit is contained in:
parent
d81975ae43
commit
6ee77dff0b
@ -93,7 +93,8 @@ void setup() {
|
|||||||
|
|
||||||
pinMode(encoderCLK, INPUT_PULLUP);
|
pinMode(encoderCLK, INPUT_PULLUP);
|
||||||
pinMode(encoderDT, INPUT_PULLUP);
|
pinMode(encoderDT, INPUT_PULLUP);
|
||||||
pinMode(encoderBTN, INPUT_PULLUP);
|
pinMode(kettlePWM, OUTPUT);
|
||||||
|
Enter.begin();
|
||||||
|
|
||||||
// if you get a connection, report back via serial:
|
// if you get a connection, report back via serial:
|
||||||
if (net.connect("www.google.com", 80)) {
|
if (net.connect("www.google.com", 80)) {
|
||||||
|
Loading…
Reference in New Issue
Block a user