Relative Content

Daily Archives: 2017年9月12日

Arduino UNO (7) L298N

Arduino UNO でCarのモーターを動かす。 接続方法 Library追加 L298N Dual H-Bridge library for controlling via PWN 2 motors https://github.com/yohendry/arduino_L298N テストプログラム #include <L298N.h> const int ENA = 6; const int IN1 = 9; const int IN2 = 7; const int IN3 = 2; const int IN4 = 4; const int ENB = 3; L298N driver(ENA,IN1,IN2,IN3,IN4,ENB); int time_delay = 500; […]