Dear,

I still have a problem.

I have merged all the code and the beginning works fine now.
It go's to the loop: makes a I2C read.
Go's to another loop for I2C write(only if needed).

Then it have to wait for the the interupt.
At the interrupt is starts to shiftout the data for the display.
Until here it works fine.

The problem is: it keeps doing that and NEVER goes back to the loop..

This didn't I know becose in the testprogram there was noting to do in the loop..

I can post the code when someone needs it but it's the same as above, only with some onther code inside it.

Dos anyone know what I do wrong?