/*设置转换i/0口 */ #include sbit clk=P3^6; sbit d0=P3^7;
sbit cs=P2^0; //sbit spk=P1^7; unsigned char code
table[]={0xc0,0xf9,0xa4,0xb0,0x99,0x92,0x82,0xf8,0x80,0x90};
/*=========================================== adc0832转换子程序
============================================*/ unsigne...
阅读全文>>