-
-
...0xF7FF] //倒计时位码地址
unsigned char time_num=0;//定时一秒次数
unsigned char shi_num=24;//小时位计数
unsigned char miao_ge=0; //秒个位
unsigned char miao_shi=0;//秒十位
unsigned char fen_ge=0;//分个位
unsigned char fen_shi=4;//分十位
unsigned cha...
-
-
...H = 0xFC; //重装值,初始值 TL2 = RCAP2L = 0x18;
ET2=1; //定时器 2 中断允许
TR2 = 1; //定时器 2 启动
EA=1;
}
unsigned int code SpeedCode[]={ 1, 2, 3, 5, 8, 10, 14, 17, 20, ...
-
-
...
static step_index;
ui count1,count2; //定时
uc butter; //按键
static speed; //速度参数
//;本文件为16×16点阵中文字库文件,字的横向8点构成一字节,左边点在字节的高
...
-
-
...sp; //相机标定时需要采用的图像帧数 const int squareSize = 30; &nb...
-
-
...----------------------------------------//新一代 1T 8051系列 单片机定时器特殊功能寄存器// 7 6 5&nb...