We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 03fb342 commit acadc7eCopy full SHA for acadc7e
smart-car/smart-car.ino
@@ -5,7 +5,7 @@
5
#define MAX_QUIRKS 3
6
7
#define ENA_PIN 10
8
-#define ENB_PIN 9
+#define ENB_PIN 11
9
#define IN1_PIN 2
10
#define IN2_PIN 3
11
#define IN3_PIN 5
@@ -25,7 +25,7 @@
25
#define LPCT 100
26
27
const byte initSpd = 192; // speed to start on the first loop to gain acceleration
28
-const byte moveSpd = 96; // speed to continue after first loop passed and we gained initial acceleration
+const byte moveSpd = 128; // speed to continue after first loop passed and we gained initial acceleration
29
30
const int turnDist = 40; // distance in cm on which normal turn will be triggered to avoid collision
31
const int spinDist = 15; // distance in cm on which obstacle is considered too close and radical spin or pulling back will be triggered
0 commit comments