51单片机红外四路循迹小车程序

所需积分/C币: 38
浏览量·2.2k
DOCX
14KB
2018-07-11 21:38:47 上传
身份认证 购VIP最低享 7 折!
qq_41436183
  • 粉丝: 1
  • 资源:
    2
前往需求广场,查看用户热搜
上传资源 快速赚钱
精品专辑
内容简介:#include <reg52.h> sbit ENA = P2^0;sbit ENB = P2^1; sbit INB1 = P2^2; sbit INA1 = P2^4; sbit INA2 = P2^3; sbit INB2 = P2^5; sbit left1 = P1^5; sbit left2 = P1^4; sbit s1 = P1^3; sbit s2 = P1^2;sbit right1 = P1^1; sbit right2 = P1^0; unsigned char zkb1 = 0; unsigned char zkb2 = 0;...