數碼管

#include<reg52.h> sbit ADDR0 = P1^4; sbit ADDR1 = P1^3; sbit ADDR2 = P1^2; sbit E1 = P1^1; sbit E2 = P1^0; void main() { unsigned char num = 0; unsigned char led[10] = {0x40,0x79,0x24,0x30,0x19,0x12,0
相關文章
相關標籤/搜索