|
|
@@ -10,8 +10,8 @@
|
|
|
|
|
|
IR Sensor Wiring:
|
|
|
Brown: 5V DC
|
|
|
-Blue: GNG
|
|
|
-Black: Signal, to PIN 2
|
|
|
+Blue: GND
|
|
|
+Black: Signal, to PIN 3
|
|
|
|
|
|
Arduino pins to the Large Digit Driver IN
|
|
|
|
|
|
@@ -22,7 +22,7 @@ Arduino pin for SPEED DISPLAY
|
|
|
5V -> 5V (ORANGE)
|
|
|
Power Arduino with 12V and connect to Vin -> 12V (RED)
|
|
|
GND -> GND (PURPLE)
|
|
|
- 9 -> Push Button
|
|
|
+ 8 -> Push Button
|
|
|
START Input
|
|
|
|
|
|
Arduino pin for LAP DISPLAY
|
|
|
@@ -33,4 +33,15 @@ Arduino pin for LAP DISPLAY
|
|
|
Power Arduino with 12V and connect to Vin -> 12V (RED)
|
|
|
GND -> GND (PURPLE)
|
|
|
|
|
|
-*/
|
|
|
+*/
|
|
|
+
|
|
|
+//GPIO declarations
|
|
|
+//-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
|
|
|
+const byte segmentClock = 6;
|
|
|
+const byte segmentLatch = 5;
|
|
|
+const byte segmentData = 7;
|
|
|
+
|
|
|
+const byte segmentClockLAP = 11;
|
|
|
+const byte segmentLatchLAP = 10;
|
|
|
+const byte segmentDataLAP = 12;
|
|
|
+const byte button = 2;
|