Hi
I have a relatively simple question about initializing a motor array. What I would like to do is set up an array with my 4 motors, but I get an error "cannot convert 'AF_DCMotor' to 'int' in initialization" Could this have to do with my initialization of the individual motors?
#include <AFMotor.h>
AF_DCMotor motor1(1);
AF_DCMotor motor2(2);
AF_DCMotor motor3(3);
AF_DCMotor motor4(4);
int allMotors[4] = {motor1, motor2, motor3, motor4};
Thanks!