通过电机编码器AB相输出确定电机转向
摘要:AB相输出相差90度,即当A相"正跳变"时如果B相是高电平那么是"正转",反之是"反转" 图片: 正转 反转 #include <TimerOne.h> #define D_Left_PIN 7 #define D_Right_PIN 8 #define IN1 22 #define IN2 23
阅读全文
posted @ 2016-01-20 08:51
江湖程序员 -Feiph(LM战士)
posted @ 2016-01-20 08:51
posted @ 2016-01-06 09:44