Commit 078925ad authored by 王佳伟's avatar 王佳伟

feat:初始化前发送的I2C信号不能删除,删除会导致彩条无法显示

parent a5c30f79
......@@ -755,6 +755,12 @@ void switch_951_Color(uint8_t in)
}
void init_951(void)
{
AIM951_i2c_send(0xFF, 0x01);
BSP_Delay_ms(10);
AIM951_i2c_send(0x02, 0x04);
BSP_Delay_ms(10);
AIM951_i2c_send(0x00, 0x23);
BSP_Delay_ms(10);
switch_951_init(1);
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment