hi to all guys, I’m building a robot that avoids obstacles, but I have a problem with the code. I did not write myself, I found it was ready for a robot in 2wd, mine is a 4wd. I can not add other engines. I get an error in the code. Could you help? thanks a lot!
“APC_4_ROBOT.ino: In function ‘void checkForward ()’:
APC_4_ROBOT: 109: error: a function-definition is not allowed here before ‘{’ token
APC_4_ROBOT: 180: error: expected `} 'at end of input”
Thanks a lot now it works, I can ask you another question?
When the robot is connected to the USB PC and powered by 4 AAA batteries work, if the ex-usb and leave only the battery stops. What power is it for? thanks a lot!
I mounted the motor shield and I connected the power supply. 4 AAA batteries. Even I have to feed the Arduino? it is as if he had enough power, and does not move
hello, Real quick question. I am also working on a very similar project, and I'm very new at programming. So, my question is; if I'm going to use only two motors I would just delete the Motor 3 and motor 4 functions, right?
Thanks in advance!
Please help me making my code ..
if anyone having coding experience plss help me
i Am Using HC SR-04
Tower pro micro servo
futaba s3003 x2 hacking for continous roatation
arduino uno
9 v battery for arduino
4.8 v battery for ardiuno.......