newest
Dependencies: BME280 BMP280 TextLCD mbed
Fork of CW_watchdog_08012018_newest by
Diff: date.h
- Revision:
- 1:dc21a6fce3af
- Parent:
- 0:7023c3f98f36
diff -r 7023c3f98f36 -r dc21a6fce3af date.h --- a/date.h Sat Jan 06 17:28:05 2018 +0000 +++ b/date.h Mon Jan 08 18:46:57 2018 +0000 @@ -170,7 +170,7 @@ { if (sw2 == 1) { - wait (1); + wait (0.2); pointer++; } else if(pointer != 14) @@ -180,7 +180,7 @@ case 0: if (sw1 == 1) { - wait (1); + wait (0.2); d++; if (d == 4) { @@ -190,7 +190,7 @@ case 1: if (sw1 == 1) { - wait (1); + wait (0.2); dd++; if (dd == 10) { @@ -200,7 +200,7 @@ case 2: if (sw1 == 1) { - wait (1); + wait (0.2); m++; if (m == 2) { @@ -210,7 +210,7 @@ case 3: if (sw1 == 1) { - wait (1); + wait (0.2); mm++; if (mm == 10) { @@ -220,7 +220,7 @@ case 4: if (sw1 == 1) { - wait (1); + wait (0.2); y++; if (y == 3) { @@ -230,7 +230,7 @@ case 5: if (sw1 == 1) { - wait (1); + wait (0.2); yy++; if (yy == 10) { @@ -240,7 +240,7 @@ case 6: if (sw1 == 1) { - wait (1); + wait (0.2); yyy++; if (yyy == 10) { @@ -250,7 +250,7 @@ case 7: if (sw1 == 1) { - wait (1); + wait (0.2); yyyy++; if (yyyy == 10) { @@ -260,7 +260,7 @@ case 8: if (sw1 == 1) { - wait (1); + wait (0.2); h++; if (h== 3) { @@ -270,7 +270,7 @@ case 9: if (sw1 == 1) { - wait (1); + wait (0.2); hh++; if (hh == 10) { @@ -280,7 +280,7 @@ case 10: if (sw1 == 1) { - wait (1); + wait (0.2); mi++; if (mi == 6) { @@ -290,7 +290,7 @@ case 11: if (sw1 == 1) { - wait (1); + wait (0.2); mmi++; if (mmi == 10) { @@ -300,7 +300,7 @@ case 12: if (sw1 == 1) { - wait (1); + wait (0.2); s++; if (s == 6) { @@ -310,7 +310,7 @@ case 13: if (sw1 == 1) { - wait (1); + wait (0.2); ss++; if (ss == 10) {