Rev 1370 | Rev 1379 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | SVN | RSS feed
| Rev 1370 | Rev 1373 | ||
|---|---|---|---|
| Line 45... | Line 45... | ||
| 45 | resolution = eeprom_read_byte(EEDATA.resolution); |
45 | resolution = eeprom_read_byte(EEDATA.resolution); |
| 46 | Timer_SetTimeout(act_softPWM_SEND_TIMER, act_softPWM_ReportInterval*1000 , TimerTypeFreeRunning, 0); |
46 | Timer_SetTimeout(act_softPWM_SEND_TIMER, act_softPWM_ReportInterval*1000 , TimerTypeFreeRunning, 0); |
| 47 | #endif |
47 | #endif |
| 48 | ///TODO: Initialize hardware etc here |
48 | ///TODO: Initialize hardware etc here |
| 49 | uint8_t i; |
49 | uint8_t i; |
| 50 | for (i=0 |
50 | for (i=0; i < NUMBEROFCHANNELS; i++) { |
| 51 | pwmValue[i] = 0; |
51 | pwmValue[i] = 0; |
| 52 | pwmValueFloat[i] = 0; |
52 | pwmValueFloat[i] = 0; |
| 53 | } |
53 | } |
| 54 | #ifdef PIN_0 |
54 | #ifdef PIN_0 |
| 55 | gpio_set_out(PIN_0); |
55 | gpio_set_out(PIN_0); |