#include // 文件包含
#include
#define uchar unsigned char // 变量类型的宏定义
#define uint unsigned int
uchar const seg[10]={0x3f,0x06,0x5b,0x4f,0x66, // 数码管段码设定
0x6d,0x7d,0x07,0x7f,0x6f};
uchar const act[4]={0xdf,0xbf,0x7f,0xef}; // 数码管位码设定
/*********************** 输入量设定 *************************/
uchar stoptime=3; // 靠墙停顿时间设定
uchar study_speed; // 学习时的速度设定
uchar study_speed_temp=4;