遗忘海岸

江湖程序员 -Feiph(LM战士)

导航

2016年1月20日 #

通过电机编码器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 遗忘海岸 阅读(6445) 评论(0) 推荐(0) 编辑