@@ -67,23 +67,23 @@ const uint32_t Constants::kDbgUartSpeed = 9600;
67
67
68
68
/* Movement controller (L298N) */
69
69
const uint8_t Constants::kLeftEngineEnable = 11 ;
70
- const uint8_t Constants::kLeftEngineStraightPin = 30 ;
71
- const uint8_t Constants::kLeftEngineReversePin = 31 ;
72
- const uint8_t Constants::kRightEngineStraightPin = 32 ;
73
- const uint8_t Constants::kRightEngineReversePin = 33 ;
70
+ const uint8_t Constants::kLeftEngineStraightPin = 7 ;
71
+ const uint8_t Constants::kLeftEngineReversePin = 6 ;
72
+ const uint8_t Constants::kRightEngineStraightPin = 5 ;
73
+ const uint8_t Constants::kRightEngineReversePin = 4 ;
74
74
const uint8_t Constants::kRightEngineEnable = 10 ;
75
75
76
76
/* Distanse controller */
77
77
const uint8_t Constants::kDistanceSensorReadPin = A2;
78
- const uint8_t Constants::kDistanceSensorAPin = 4 ;
79
- const uint8_t Constants::kDistanceSensorBPin = 5 ;
78
+ const uint8_t Constants::kDistanceSensorAPin = 33 ;
79
+ const uint8_t Constants::kDistanceSensorBPin = 32 ;
80
80
const uint8_t Constants::kDistanceSensorCPin = A3;
81
81
82
82
/* Line controller */
83
83
// A = 0, B = 1, C = 2
84
84
const uint8_t Constants::kLineSensorReadPin = A0;
85
- const uint8_t Constants::kLineSensorAPin = 6 ;
86
- const uint8_t Constants::kLineSensorBPin = 7 ;
85
+ const uint8_t Constants::kLineSensorAPin = 31 ;
86
+ const uint8_t Constants::kLineSensorBPin = 30 ;
87
87
const uint8_t Constants::kLineSensorCPin = A1;
88
88
89
89
/* Servo controller */
0 commit comments