HongDaSeon / ardu-imu

Automatically exported from code.google.com/p/ardu-imu
0 stars 0 forks source link

Latest ArduIMU software does not compile with latest version of Arduino #20

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Download and install latest version of Arduino IDE
2. Download latest ArduIMU software
3. Attempt to load ArduIMU software to ArduIMU board

What is the expected output? What do you see instead?
Code does not compile.  Compiler error message "Wire.send() has been renamed 
Wire.write()"

What version of the product are you using? On what operating system?
Windows 7

Please provide any additional information below.

Original issue reported on code.google.com by dean.slo...@hotmail.com on 8 Feb 2012 at 3:09

GoogleCodeExporter commented 9 years ago
Better use Arduino IDE 0022 for compatibility! 

Original comment by 3Dsh...@gmail.com on 25 Feb 2012 at 4:32

GoogleCodeExporter commented 9 years ago
This still isn't fixed, using Arduino 1.0.1. I'm going to try to fix this.

In file included from arduimu.cpp:15:
C:\Users\drasnor\Documents\Arduino\libraries\FastSerial/FastSerial.h:105: 
error: conflicting return type specified for 'virtual void 
FastSerial::write(uint8_t)'
C:\Users\drasnor\Documents\Arduino\arduino-1.0.1\hardware\arduino\cores\arduino/
Print.h:48: error:   overriding 'virtual size_t Print::write(uint8_t)'
arduimu.cpp: In function 'bool HMC5883_init()':
arduimu.pde:-1: error: 'class TwoWire' has no member named 'send'

As of Arduino 1.0, the Wire.send() function was renamed to Wire.write() for 
consistency with other libraries.

arduimu.pde:-1: error: 'class TwoWire' has no member named 'send'

As of Arduino 1.0, the Wire.send() function was renamed to Wire.write() for 
consistency with other libraries.

arduimu.pde:-1: error: 'class TwoWire' has no member named 'send'

As of Arduino 1.0, the Wire.send() function was renamed to Wire.write() for 
consistency with other libraries.

arduimu.pde:-1: error: 'class TwoWire' has no member named 'send'

As of Arduino 1.0, the Wire.send() function was renamed to Wire.write() for 
consistency with other libraries.

arduimu.cpp: In function 'void HMC5883_read()':
arduimu.pde:-1: error: 'class TwoWire' has no member named 'send'

As of Arduino 1.0, the Wire.send() function was renamed to Wire.write() for 
consistency with other libraries.

arduimu.pde:-1: error: 'class TwoWire' has no member named 'receive'

As of Arduino 1.0, the Wire.receive() function was renamed to Wire.read() for 
consistency with other libraries.

Original comment by dras...@gmail.com on 20 Jul 2012 at 6:58

GoogleCodeExporter commented 9 years ago
Is it fixed now, I have the same error

Original comment by druckgott on 28 Nov 2012 at 4:41

GoogleCodeExporter commented 9 years ago
I have the same issue. I am new to DIY Drones, is there an assumption that one 
needs to work with a previous release of the Arduino IDE?

Original comment by della...@gmail.com on 12 Jan 2013 at 9:19