基于51单片机的点阵贪吃蛇.docx
基于51单片机的点阵贪吃蛇,用普中科技的51开发板做的.
#include"reg51.h"
#include
#include
typedefunsignedintu16;
typedefunsignedcharu8;
sbitup=P3^0;
sbitdown=P3^1;
sbitright=P3^2;
sbitleft=P3^3;
sbitSRCLK=P3^6;
sbitRCLK=P3^5;
sbitSER=P
下载地址
用户评论