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 阅读全文
posted @ 2023-01-03 11:15 Unclesundada 阅读(20) 评论(0) 推荐(0) 编辑
摘要://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 阅读全文
posted @ 2023-01-02 21:09 Unclesundada 阅读(32) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示