Hi,
To start: I'm a newbie, still trying to find out how the Arduino Due works.
At this moment I'm trying to get a MLX90614-BAA communicating with my Due board. The problem already starts during the compiling of the project. First I was having problems to find the include files, but that has been solved (so far

).
In Arduino 1.5.1r2 I still get the following errors:
C:\Users\kazimier\Documents\Arduino\libraries\I2Cmaster\I2C.cpp: In member function 'void I2C::begin()':
C:\Users\kazimier\Documents\Arduino\libraries\I2Cmaster\I2C.cpp:91: error: 'PORTD' was not declared in this scope
C:\Users\kazimier\Documents\Arduino\libraries\I2Cmaster\I2C.cpp:91: error: '_SFR_BYTE' was not declared in this scope
etc.
I can't figure out what goes wrong. I've articles about adjusting twimaster.cpp (or do I need to adjust the I2C.cpp)?
Thanks in advance!
Jelle