Commit c09ef8c6 authored by 王佳伟's avatar 王佳伟

feat:白黑红黑绿黑蓝黑彩图黑循环

parent d7650c09
.vscode
ghs\list\BSP.lst
ghs\list\fx12_test.lst
ghs\obj\BSP.dbo
ghs\obj\BSP.o
ghs\obj\fx12_test.dbo
ghs\obj\fx12_test.o
ghs\output\FX12_TFT_test.hex
ghs\output\FX12_TFT_test.mem
ghs\output\FX12_TFT_test.rec
ghs\output\G393_color_5s_black.rec
ghs\output\project.dla
ghs\output\project.dnm
ghs\output\project.graph
ghs\output\project.map
ghs\output\project.out
ghs\output\project.size
\ No newline at end of file
......@@ -740,6 +740,15 @@ void switch_951_Color(uint8_t in)
BSP_Delay_ms(10);
break;
case 5://彩条
AIM951_i2c_send(0xFF, 0x01);
BSP_Delay_ms(10);
AIM951_i2c_send(0x02, 0x44);
BSP_Delay_ms(10);
AIM951_i2c_send(0x00, 0x05);
BSP_Delay_ms(10);
break;
default:
break;
}
......
......@@ -559,7 +559,7 @@ void fx12_test_server(void)
}
else
{
if (color_flag < 4)
if (color_flag < 5)
{
color_flag++;
}
......
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