Backlight control
2 unresolved threads
2 unresolved threads
- moved PWM_Output content from lib/card10/display.c to DEV_Set_BL in lib/gfx/GUI_DEV/DEV_config.c (activating LCD_SetBacklight, which uses it)
- added epic_disp_backlight, which calls LCD_SetBacklight
- added backlight() to pycardium display module, making backlight available to py apps
Merge request reports
Activity
Filter activity
assigned to @schneider
105 tmr.mode = TMR_MODE_PWM; 106 tmr.cmp_cnt = period_ticks; 107 tmr.pol = 0; 108 TMR_Config(PWM_TIMER, &tmr); 109 110 tmr_pwm.pol = 1; 111 tmr_pwm.per_cnt = period_ticks; 112 tmr_pwm.duty_cnt = duty_ticks; 113 114 if (TMR_PWMConfig(PWM_TIMER, &tmr_pwm) != E_NO_ERROR) { 115 printf("Failed TMR_PWMConfig.\n"); 116 } 117 118 TMR_Enable(PWM_TIMER); 119 120 printf("PWM started.\n"); Manually merged in 330f8713
mentioned in merge request !359 (merged)
Please register or sign in to reply