数显-双锁存(数显共阴,段 与 位共用 端口P0口)
/*#include#defineucharunsignedchar#defineuintunsignedintsbitled1=P1^0; sbitdula=P2^6; sbitwela=P2^7; uintnum; ucharcodetable[]={ 0x3f,0x06,0x5b,0x4f,0x66,0x6d,0x7d,0x07, 0x7f,0x6f,0x77,0x7c,0x39,0x5e,0x79,0x71}; voiddelayms(uintx) { uchari; ...