File tree Expand file tree Collapse file tree 1 file changed +0
-21
lines changed
gpsTracker_trackingDevice Expand file tree Collapse file tree 1 file changed +0
-21
lines changed Original file line number Diff line number Diff 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-
5635void transmit (String datatype, String data) {
5736 Serial.print (datatype + " :" + data + " \n " );
5837 delay (1000 ); // TEMP - testing
You can’t perform that action at this time.
0 commit comments