Go Down

Topic: Attempting Pan Tilt (Read 418 times) previous topic - next topic

MitchBCool

I'm new to Arduino and I'm using a mac.

I'm trying to load this code onto the arduino...

http://diydrones.com/profiles/blog/show?id=705844%3ABlogPost%3A31713

but I get this

/tmp/build48857.tmp/core.a(wiring_serial.c.o): In function `__vector_18':

/Applications/arduino-0015/hardware/cores/arduino/wiring_serial.c:112: multiple definition of `__vector_18'

/tmp/build48857.tmp/core.a(HardwareSerial.cpp.o):/Applications/arduino-0015/hardware/cores/arduino/HardwareSerial.cpp:95: first defined here

Couldn't determine program size: hardware/tools/avr/bin/avr-size: '/tmp/build48857.tmp/PanTilt.hex': No such file

I don't know what this means.
I'm running Arduino 15.


TeamMCS

Hi mate,

Did you manually install the wiring + pan and tilt library?

Can you dump the entire code please.

TeamMCS

Okay ignore me,

looks like a simple incompatibility on setup().


Change beginSerial to Serial.begin(19200);

Go Up
 


Please enter a valid email to subscribe

Confirm your email address

We need to confirm your email address.
To complete the subscription, please click the link in the email we just sent you.

Thank you for subscribing!

Arduino
via Egeo 16
Torino, 10131
Italy