X-Git-Url: https://www.fi.muni.cz/~kas/git//home/kas/public_html/git/?p=tinyboard.git;a=blobdiff_plain;f=projects%2Fstep-up%2Flights.h;h=986ffcb7ec935eac3ae6faef0881b26d844e0cb7;hp=772613ac513b34943450c4182a64302f545d5f6e;hb=899ce95294ad696dbd04e2f5722fbbc00f9dec2e;hpb=280768d8d70943db6504131d49d2a916f6ec3acd diff --git a/projects/step-up/lights.h b/projects/step-up/lights.h index 772613a..986ffcb 100644 --- a/projects/step-up/lights.h +++ b/projects/step-up/lights.h @@ -4,7 +4,7 @@ #define TESTING_FW 1 #define N_LEDS 7 -#define N_PWMLEDS 3 +#define N_PWMLEDS 2 #define N_PWMLED_MODES 4 #define N_BUTTONS 2 @@ -36,7 +36,7 @@ void timer_start_slow_adcs(); * A/D converter frequency (125 kHz). Note that this is not the Top * value of T/C 1, it is shifted by PWM_STEP_SHIFT as described in pwm.c */ -#define PWM_MAX 0x780 +#define PWM_MAX 0x340 void init_pwm(); void susp_pwm(); void pwm_off(unsigned char n);