aboutsummaryrefslogtreecommitdiff
path: root/elegoo
diff options
context:
space:
mode:
authorDimitri Sokolyuk <demon@dim13.org>2017-12-13 11:28:45 +0100
committerDimitri Sokolyuk <demon@dim13.org>2017-12-13 11:28:45 +0100
commit3cba9279be6c31b842a09f53fecff404f959b88f (patch)
treed406d1db77196bf319098c87a606993274a2e2fb /elegoo
parente9b19d5d648f98cc598b14f0451802c5d33c0456 (diff)
extend comments on pinout
Diffstat (limited to 'elegoo')
-rw-r--r--elegoo/config.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/elegoo/config.h b/elegoo/config.h
index af497b1..b0cae81 100644
--- a/elegoo/config.h
+++ b/elegoo/config.h
@@ -1,20 +1,20 @@
#ifndef CONFIG_H
#define CONFIG_H
-#define LED 13
+#define LED 13 // LED_BUILDIN
// Settings
#define dist 20
#define velo 130
// Pinout motor
-#define ENA 5 // 10 pwm
-#define ENB 6 // 5 pwm
+#define ENA 5 // 10 pwm enable right
+#define ENB 6 // 5 pwm enable left
-#define IN1 7 // 9
-#define IN2 8 // 8
-#define IN3 9 // 7
-#define IN4 10 // 6
+#define IN1 7 // 9 direction backward right
+#define IN2 8 // 8 direction forward right
+#define IN3 9 // 7 direction backward left
+#define IN4 10 // 6 direction forward left
// Pinout sensors
#define SR 2 // right