本帖最后由 Sam131208 于 2023-11-24 09:52 编辑
请教下LCD刷新问题,0.5秒要刷新一次. 导致电流从9.5uA增加到130uA. 刷新处理如下:
for(uint8_t id = 0; id < ICON_MAX; id ++){
if(mLcdDidplay.icon.ctrl[id] > ICON_ON){
lcd_display_reflesh(ICON, id, (lcd_icon_action_t) (mLcdDidplay.icon.ctrl[id] | (blink << 4)));
}
}
for(uint8_t id = 0, maskbit = 1; id < _LCD_SUPPORT_ASCII_CHAR_MAX; id ++, maskbit <<= 1){
if(mLcdDidplay.string.blink & maskbit){
lcd_display_reflesh(STRING, id, ((lcd_icon_action_t) blink));
}
}
LCD_UpdateDisplayRequest();
|