Integrating the MLX90614 w/ the Orangutan SVP 1284p

I’m currently using the MLX90614ESF-AAA Infrared temperature sensor.

I’ve modified the port numbers for my Orangutan SVP
PORTC = (1 << PORTC1) | (1 << PORTC0);

I connected my sensor to JP8
Pin7 (db0) => PC0 (SCL)
Pin8 (db1) => PC1 (SDA)
Pin1 => Vss (ground)
Pin2 => Vdd (+5v)

But the program stays stuck in an infinite loop in the function:
void i2c_start() {
TWCR = (1 << TWINT) | (1 << TWSTA) | (1 << TWEN); // send start condition
while (!(TWCR & (1 << TWINT))); //<-- stays stuck here!

Any Ideas why?


For anyone following this thread, cpitts14 has spoken on the phone to both Kevin and me about this problem.

Did you resolve your problem yet? Are you going to get the robot finished on time?