Skip to content

Commit b7705a1

Browse files
committed
Added ability to read own Vcc input voltage
1 parent ffea229 commit b7705a1

File tree

1 file changed

+0
-21
lines changed

1 file changed

+0
-21
lines changed

gpsTracker_trackingDevice/gpsTracker_trackingDevice.ino

-21
Original file line numberDiff line numberDiff line change
@@ -32,27 +32,6 @@ byte gpsRequestMode = 0;
3232
// 1 = handheld is requesting GPS data to be transmitted once. Arduino will then set gpsRequestMode to 0 and sleep
3333
// 2 = handheld is requesting continuous transmission of GPS data
3434

35-
void blinkLED() {
36-
digitalWrite(LED_BUILTIN, HIGH);
37-
delay(50);
38-
digitalWrite(LED_BUILTIN, LOW);
39-
}
40-
41-
bool digitalReadDebounce(int pin) {
42-
if (digitalRead(pin) == LOW) {
43-
delay(50);
44-
bool debounceRunning = true;
45-
while (debounceRunning) {
46-
if (digitalRead(pin) == HIGH) {
47-
debounceRunning = false;
48-
}
49-
}
50-
delay(50);
51-
return true;
52-
}
53-
return false;
54-
}
55-
5635
void transmit(String datatype, String data) {
5736
Serial.print(datatype + ":" + data + "\n");
5837
delay(1000); //TEMP - testing

0 commit comments

Comments
 (0)