diff --git a/Inc/config.h b/Inc/config.h index dfe17d2f..ed3a3764 100644 --- a/Inc/config.h +++ b/Inc/config.h @@ -60,8 +60,8 @@ // ###### CONTROL VIA RC REMOTE ###### // left sensor board cable. Channel 1: steering, Channel 2: speed. Use a very short cable! -//#define CONTROL_PPM // use PPM-Sum as input. disable CONTROL_SERIAL_USART2! -//#define PPM_NUM_CHANNELS 6 // total number of PPM channels to receive, even if they are not used. +#define CONTROL_PPM // use PPM-Sum as input. disable CONTROL_SERIAL_USART2! +#define PPM_NUM_CHANNELS 4 // total number of PPM channels to receive, even if they are not used. // ###### CONTROL VIA TWO POTENTIOMETERS ###### // ADC-calibration to cover the full poti-range: connect potis to left sensor board cable (0 to 3.3V) (do NOT use the red 15V wire in the cable!). see . turn the potis to minimum position, write value 1 to ADC1_MIN and value 2 to ADC2_MIN. turn to maximum position and repeat it for ADC?_MAX. make, flash and test it. @@ -77,7 +77,7 @@ // ###### MOTOR TEST MODE ###### // slowly move both wheels forward and backward, ignoring all inputs -#define CONTROL_MOTOR_TEST +//#define CONTROL_MOTOR_TEST #define CONTROL_MOTOR_TEST_MAX_SPEED 300 // sweep slowly from -MAX_SPEED to MAX_SPEED (0 - 1000) // ############################### DRIVING BEHAVIOR ###############################