这是我的刷显代码:
- void display_led_all()//显示刷新4位LED
- {
- FD650_send(0x48,init_1650_0);// 开启显示、0级亮度
- FD650_send(0X68,led_buf[0]); //GID1
- FD650_send(0X6A,led_buf[1]); //GID2
- FD650_send(0X6c,led_buf[2]); //GID3
- FD650_send(0X6e,led_buf[3]); //GID4
- FD650_send(0x48,init_1650_7);// 开启显示、7级亮度
- FD650_send(0X68,0x00); //GID1
- FD650_send(0X6A,0x00); //GID2
- FD650_send(0X6c,0x00); //GID3
- FD650_send(0X6e,led_buf[3]); //GID4
- FD650_send(0X68,0x00); //GID1
- FD650_send(0X6A,0x00); //GID2
- FD650_send(0X6c,0x00); //GID3
- FD650_send(0X6e,led_buf[3]); //GID4
- }
复制代码 |