摘要:
@echo off&setlocal enabledelayedexpansionfor /f "tokens=1-3 delims=-:/ " %%a in ("%date%") do (set Y=%%a&set M=%%b&set D=%%c&if "!M:~0,1!"=="0" set M= 阅读全文
摘要:
#include <reg51.h> #define uchar unsigned char #define uint unsigned int sbit led1=P1^0; sbit led2=P1^1; sbit led3=P1^6; sbit led4=P1^7; sbit key1=P3^ 阅读全文
摘要:
#include <reg51.h> #define uchar unsigned char #define uint unsigned int sbit led1=P1^0; sbit led2=P1^3; sbit k1=P3^2; sbit k2=P3^3; uchar num0,num1; 阅读全文