Skip to content

Commit c7d3606

Browse files
Add files via upload
Bug fixed on the analog entries.
1 parent af442fc commit c7d3606

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Main.ino

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,11 +35,11 @@ DIR_B = 13,
3535
BRAKE_B = 8,
3636
SNS_B = A1;
3737

38-
int sensorPin1 = A1; // select the input pin for the gyrometer // gyrometer wiper (middle terminal) connected to analog pin 1
38+
int sensorPin1 = A2; // select the input pin for the gyrometer // gyrometer wiper (middle terminal) connected to analog pin 1
3939
// outside leads to ground and +3.3V
4040
int sensorValue1 = 0; // variable to store the value coming from the sensor
4141
/*
42-
int sensorPin2 = A1; // select the input pin for the inclinometer
42+
int sensorPin2 = A3; // select the input pin for the inclinometer
4343
int sensorValue2 = 0; // variable to store the value coming from the sensor
4444
*/
4545
//#include <Wire.h>

0 commit comments

Comments
 (0)