- Wed Jan 11, 2012 11:15 am
#138073
Hi guys.
I have downloaded this copy of the FreeIMU library
http://www.varesano.net/files/libraries ... 5_2110.zip
And i've included all the libs that the compiler complains about. Now my sketch file looks like this
Thanks..
I have downloaded this copy of the FreeIMU library
http://www.varesano.net/files/libraries ... 5_2110.zip
And i've included all the libs that the compiler complains about. Now my sketch file looks like this
Code: Select all
Get this compiler error
#include <ITG3200.h>
#include <MS561101BA.h>
#include <HMC58X3.h>
#include <bma180.h>
#include <Wire.h>
#include <CommunicationUtils.h>
#include <FreeIMU.h>
C:\Program Files (x86)\arduino-1.0\libraries\MS561101BA\MS561101BA.cpp: In member function 'long unsigned int MS561101BA::getConversion(uint8_t)':Looks like there are two write methods and it does not know which one to use.... Whats wrong?
C:\Program Files (x86)\arduino-1.0\libraries\MS561101BA\MS561101BA.cpp:144: error: call of overloaded 'write(int)' is ambiguous
C:\Program Files (x86)\arduino-1.0\libraries\Wire/Wire.h:55: note: candidates are: virtual size_t TwoWire::write(uint8_t)
C:\Program Files (x86)\arduino-1.0\hardware\arduino\cores\arduino/Print.h:49: note: size_t Print::write(const char*)
Thanks..