-2
\$\begingroup\$

Possible Duplicate:
Arduino Razor IMU with Serial.write(id, 2): Can’t have 2 parameters

I've posted this item before.

I downloaded the Razor IMU source code last night from Razor AHRS. This code uses exactly the sensors I need and would solve the problem I have currently (I hope). The only problem is that on line 535 in "Razor AHRS v1.4.1\Arduino\Razor_AHRS\Razor_AHRS.pde" in the above linked zip file they have:

Serial.write(id, 2);

When I Verify, compilation fails at this line with the following error:

no matching function for call to 'Serial_::write(byte [2],int)'

I downloaded and installed Arduino 1.0.2 on a new pc and installed the drivers to Arduino Pro Micro 16MHz/5V.

I checked the arduino documentation on Serial.write and it seems to be a valid command.

What am I doing wrong?

\$\endgroup\$
0

0

Browse other questions tagged or ask your own question.