From: Jan "Yenya" Kasprzak Date: Wed, 26 Jun 2013 21:53:52 +0000 (+0200) Subject: pwmled.c: new current values X-Git-Url: https://www.fi.muni.cz/~kas/git//home/kas/public_html/git/?a=commitdiff_plain;h=783dec62b5002f6e1c1ff4417659d32b46aa5407;p=bike-lights.git pwmled.c: new current values --- diff --git a/firmware/pwmled.c b/firmware/pwmled.c index c156d81..82237dc 100644 --- a/firmware/pwmled.c +++ b/firmware/pwmled.c @@ -56,10 +56,19 @@ static uint16_t adc_targets_1[] = { }; static uint16_t adc_targets_2[] = { +#ifdef TESTING_FW MA_GAIN_TO_ADC( 50, 1), MA_GAIN_TO_ADC( 100, 1), - MA_GAIN_TO_ADC( 200, 1), + MA_GAIN_TO_ADC( 150, 1), + MA_GAIN_TO_ADC( 240, 1), MA_GAIN_TO_ADC( 350, 1), +#else + MA_GAIN_TO_ADC( 150, 1), + MA_GAIN_TO_ADC( 300, 1), + MA_GAIN_TO_ADC( 500, 1), + MA_GAIN_TO_ADC( 800, 1), + MA_GAIN_TO_ADC(1200, 1), +#endif }; static uint16_t adc_vals[N_PWMLEDS*N_PWMLED_MODES];