Show Posts
Pages: [1]
1  Products / Arduino Due / Re: I2C Repeated Start on: February 06, 2013, 02:03:04 am
Hi Dan and Chris,

Do you mind sharing the code for the use of a MLX90614? I'm also trying to get one running on a Due, but unfortunatelly I'm really not into (machine)code. What I've seen in your posts is really to much for me.

regards,
Jelle
2  Products / Arduino Due / twimaster.cpp for I2C (to get a MLX90614 to work) on: January 24, 2013, 05:57:17 am
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 smiley-razz).

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
Pages: [1]