2022-09-20 10:09 PM
LTDC_InitTypeDef LTDC_InitStruct;
LTDC_Layer_InitTypeDef LTDC_Layer_InitStruct;
Delay_us(2000000);
LTDC_LayerCmd(LTDC_Layer2, ENABLE);
LTDC_ReloadConfig(LTDC_IMReload);
for(int i=0;i<=184;i++){
Delay_us(1000000);
LTDC_Layer_InitStruct.LTDC_CFBLineNumber = i;
Delay_us(1000000);
}
2022-09-21 02:52 AM
> for(int i=0;i<=184;i++){
> Delay_us(1000000);
> LTDC_Layer_InitStruct.LTDC_CFBLineNumber = i;
> Delay_us(1000000);
> }
Writing to init struct has no effect on the hardware.
JW