⑴ 單片機:用十六進制寫出0-9,A-F共陰極字形編碼表
uchar SEG_A_List[16]={0x3f,0x06,0x5b,0x4f,0x66,0x6d,0x7d,0x07,0x7f,0x6f,0x77,0x7c,0x39,0x5e,0x79,0x71}; //共陰數碼管代碼表"0-F"
uchar SEG_B_List[16]={0xc0,0xf9,0xa4,0xb0,0x99,0x92,0x82,0xf8,0x80,0x90,0x88,0x83,0xc6,0xa1,0x86,0x8e}; //共陽數碼管代碼表"0-F"
⑵ 用51單片機匯編語言,數碼管靜態輪流顯示1~F
編寫相應程序,對應數碼管順序,點亮時間等效果要求,最後執行程序段循環命令即可
⑶ 鍗曠墖鏈:鍗佸叚榪涘埗A~F涓庡叾瀵瑰簲鐨凙SCII鐮佸肩浉宸37H,涓轟粈涔堝湪緙栧啓紼嬪簭鏃訛紝鍔犵殑鏄07H,涓嶆槸3
A鐨凙SCII鏄41H錛屾墍浠A涓嶢SCII鍊肩浉宸鏄41H-0AH=37H錛岃嚦浜庝綘榪欓噷鍔07H鑰岄潪37H錛屽彲鑳芥槸榪欎釜鏁板紑濮嬪凡緇忓姞浜30H錛屽洜涓烘暟瀛椾笌鍏跺瑰簲鐨凙SCII鐮佸肩浉宸30H銆