Skip to content

Commit

Permalink
Additional text to ASCII art, lower delay to enable debugging.
Browse files Browse the repository at this point in the history
  • Loading branch information
dglinder committed Oct 8, 2017
1 parent a213571 commit 75ea078
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions SparkThing-Monitor.ino
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@
OneWire ds(2); // on pin 2 (a 4.7K resistor is necessary)

// Wiring to the Dallas Semiconductor DS18B20 sensors:
// * Pin 1 == Ground +-------+
// * Pin 2 == Data \ 1 2 3 /
// * Pin 3 == 3V \-----/
// * Pin 1 == Ground == Blue +-------+
// * Pin 2 == Data == Green \ 1 2 3 /
// * Pin 3 == 3V == Blue/White \-----/

// Include local WiFi and Cayenne credentials from separate file.
// Must include:
Expand All @@ -33,7 +33,7 @@ OneWire ds(2); // on pin 2 (a 4.7K resistor is necessary)
#include "creds.h"

// How long to delay in milliseconds (10,000 == 10 seconds)
#define PUB_DELAY 120000
#define PUB_DELAY 5000

// Maximum number of temp probes to keep track of.
#define MAXPROBES 3
Expand Down Expand Up @@ -194,3 +194,4 @@ void loop(void) {
Cayenne.loop();
}


0 comments on commit 75ea078

Please sign in to comment.