|
|
這是我的刷顯代碼:
- 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
- }
復(fù)制代碼 |
|