I have done several Arduino (and Maple) successful projects, but this is my first attempt to run the I2C and use the wire.
I have built my program skeleton for the Mega, and included the wire.h library.
I keep getting the following errors:
(I get it even with the Arduino example program)
'In file included from PEA_1500_Control.ino:69:0:
C:\Users\User\Documents\Arduino\libraries\Wire/Wire.h:58:13: error: 'uint8_t TwoWire::requestFrom(uint8_t, uint8_t)' cannot be overloaded
uint8_t requestFrom(uint8_t, uint8_t);
^
C:\Users\User\Documents\Arduino\libraries\Wire/Wire.h:56:13: error: with 'uint8_t TwoWire::requestFrom(uint8_t, uint8_t)'
uint8_t requestFrom(uint8_t, uint8_t);
Attached is the wire.h file I am using.
Is the wire.h I use the correct library, or is there a modified one?
Thanks,
Wire.h (2.47 KB)