Skip to content

Commit eef3143

Browse files
author
brentru
committed
bump interval to every 6min
1 parent 272e908 commit eef3143

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

Wearable_BLE_Temperature_Monitor/ble_temp_monitor.ino

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ float temp_offset = 0.5;
3636
// Sensor read timeout, in minutes
3737
// NOTE: Measuring your armpit temperature for a minimum
3838
// of 12 minutes is equivalent to measuring your core body temperature.
39-
const long interval = 1;
39+
const long interval = 6;
4040

4141
// BLE Service
4242
BLEDfu bledfu; // OTA DFU service
@@ -103,7 +103,6 @@ void setup() {
103103

104104
// set all pixel colors to 'off'
105105
pixels.clear();
106-
107106
}
108107

109108
void loop() {
@@ -142,7 +141,6 @@ void loop() {
142141
bleuart.write(buffer);
143142

144143
// shutdown MSP9808 - power consumption ~0.1 mikro Ampere
145-
// stops temperature sampling
146144
Serial.println("Shutting down MCP9808");
147145
tempsensor.shutdown_wake(1);
148146

0 commit comments

Comments
 (0)