자율주행 자동차AFMotor.cpp, AFMotor.h 깃허브에서 다운로드#include "AFMotor.h"#include #define echopin A4 // echo pin#define trigpin A5 // Trigger pinServo myservo;const int MOTOR_1 = 1; const int MOTOR_2 = 2; const int MOTOR_3 = 3; const int MOTOR_4 = 4; AF_DCMotor motor1(MOTOR_1, MOTOR12_64KHZ); // create motor object, 64KHz pwmAF_DCMotor motor2(MOTOR_2, MOTOR12_64KHZ); // create motor object, 64KHz pwmAF_DCMo..