01 2023 档案
摘要:#include "reg52.h" #include <stdio.h> #include <string.h> sfr AUXR = 0x8e; sbit L7 = P0^6; sbit L8 = P0^7; sbit S5 = P3^2; sbit S4 = P3^3; // 预定义 unsi
阅读全文
摘要://io扩展 #include "reg52.h" void Delay(unsigned char t) { while(t--); } void SelectHC573(unsigned char n) { switch(n) { case 4: P2 = (P2&0x1f)|0x80;//LE
阅读全文