給樓主這個參考:
年月日的顯示代碼:
0x08,0x0f,0x12,0x0f,0x0a,0x1f,0x02,0x02, //年
0x0f,0x09,0x0f,0x09,0x0f,0x09,0x13,0x01, //月
0x0f,0x09,0x09,0x0f,0x09,0x09,0x0f,0x00, //日
0x18,0x18,0x07,0x08,0x08,0x08,0x07,0x00, //溫度標志— —攝氏度
0x00,0x04,0x0E,0x1F,0x0E,0x04,0x00,0x00, //符號◆
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff, //全開
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, //
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00 //
周代碼:
db 00h,01h,02h,03h,04h,05h,06h,07h ;"空"代碼=0x00h
db 00h,00h,00h,00h,0ffh,00h,00h,00h ;"一"代碼=0x01h
db 00h,00h,00h,0eh,00h,0ffh,00h,00h ;"二"代碼=0x02h
db 00h,00h,0ffh,00h,0eh,00h,0ffh,00h ;"三"代碼=0x03h
db 00h,00h,0ffh,0f5h,0fbh,0f1h,0ffh,00h ;"四"代碼=0x04h
db 00h,0feh,08h,0feh,0ah,0ah,0ffh,00h ;"五"代碼=0x05h
db 00h,04h,00h,0ffh,00h,0ah,11h,00h ;"六"代碼=0x06h
db 1fh,11h,11h,1fh,11h,11h,1fh,00h ;"日"代碼=0x07h
|