能帮我详细解释下该程序,我是初学者,#include#define uchar unsigned charuchar tab[]={0x3f,0x06,0x5b,0x4f,0x66,0x6d,0x7d,0x07,0x7f,0x6f,0x77,0x7c,0x39,0x5e,0x79,0x71}; //0到fuchar keyval;uint x;void delay(uchar a){uchar i,j;for(i=0;i

来源:学生作业帮助网 编辑:作业帮 时间:2024/07/31 10:19:02
能帮我详细解释下该程序,我是初学者,#include#define uchar unsigned charuchar tab[]={0x3f,0x06,0x5b,0x4f,0x66,0x6d,0x7d,0x07,0x7f,0x6f,0x77,0x7c,0x39,0x5e,0x79,0x71}; //0到fuchar keyval;uint x;void delay(uchar a){uchar i,j;for(i=0;i
xRn@KݴH6 $G,ئȍҦJ!y:HiHhZ)BD-q(YMlsܹg&K{7|Jjq5ίɧ&x4*h03قmnP(y`OMMұ~d$c:R£4 "A" ]֦1ʪă ط:\;=Qr0|rhemn+;%^虬淍=I6xգ?srwo;L/DziEuNb.?rH#??Vr> +[;~bgBo#YIr@f0/p~xU_7ɨ[u:ڝC(#—#Jȅ8}yn^"</CF\JG9L"

能帮我详细解释下该程序,我是初学者,#include#define uchar unsigned charuchar tab[]={0x3f,0x06,0x5b,0x4f,0x66,0x6d,0x7d,0x07,0x7f,0x6f,0x77,0x7c,0x39,0x5e,0x79,0x71}; //0到fuchar keyval;uint x;void delay(uchar a){uchar i,j;for(i=0;i
能帮我详细解释下该程序,我是初学者,
#include
#define uchar unsigned char
uchar tab[]={0x3f,0x06,0x5b,0x4f,0x66,0x6d,0x7d,0x07,0x7f,0x6f,0x77,0x7c,0x39,0x5e,0x79,0x71}; //0到f
uchar keyval;
uint x;
void delay(uchar a)
{
uchar i,j;
for(i=0;i

能帮我详细解释下该程序,我是初学者,#include#define uchar unsigned charuchar tab[]={0x3f,0x06,0x5b,0x4f,0x66,0x6d,0x7d,0x07,0x7f,0x6f,0x77,0x7c,0x39,0x5e,0x79,0x71}; //0到fuchar keyval;uint x;void delay(uchar a){uchar i,j;for(i=0;i
这是矩阵键盘的逐行扫描法,先给P3口0x0f,再判断p3口还等于0x0f不,延时是为了去抖,再判断一次看按键是否还按下,如果按着,就取出键码,最后把键码组合,返回键码