From 6e1b8105f5da1411470dbaac3f18bf2d244106c6 Mon Sep 17 00:00:00 2001 From: Dimitri Sokolyuk Date: Wed, 12 Sep 2018 02:07:41 +0200 Subject: cleanup wiring --- elegoo/config.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'elegoo') diff --git a/elegoo/config.h b/elegoo/config.h index 6753bd0..31aa155 100644 --- a/elegoo/config.h +++ b/elegoo/config.h @@ -8,8 +8,8 @@ #define velo 130 // Pinout motor -#define ENA 5 // 10 pwm enable right PD5 Out PWM -#define ENB 6 // 5 pwm enable left PD6 Out PWM +#define ENA 5 // 10 pwm enable right PD5 Out PWM OC0B +#define ENB 6 // 5 pwm enable left PD6 Out PWM OC0A #define IN1 7 // 9 direction backward right PD7 Out #define IN2 8 // 8 direction forward right PB0 Out @@ -18,11 +18,11 @@ // Pinout sensors #define SR 2 // right PD2 In -#define SC 4 // center PD4 In -#define SL 11 // left PB3 In +#define SC 3 // center PD3 In +#define SL 4 // left PD4 In // Servo -#define SRV 3 // PD3 Out PWM +#define SRV 11 // PB3 Out PWM OC2A // Pinout IR #define IR 12 // PB4 In -- cgit v1.2.3