#include
#define uint unsigned int
sbit A=P1^0; //操控A的电流方向,0为反,1为正
sbit di=P1^1;
sbit A1=P1^2;
sbit A2=P1^3; //操控A的速度
sbit B1=P1^4;
sbit B2=P1^5;
void delayms(uint z)
{
}
void run()
{
}
void main()
{
}
includedefineuintunsignedintsbitA=P1^0;控制A的电流方向,0为反,1为正sbitdi=P1^1;sbitA1=P1^2;sbitA2=P1^3;控
#include
#define uint unsigned int
sbit A=P1^0; //操控A的电流方向,0为反,1为正
sbit di=P1^1;
sbit A1=P1^2;
sbit A2=P1^3; //操控A的速度
sbit B1=P1^4;
sbit B2=P1^5;
void delayms(uint z)
{
}
void run()
{
}
void main()
{
}