AS1130 So far, so good...

especially re interrupts.

You do a total of 6 I2C_write()s in the ISR which equates to a whole lot of Wire.XX calls, conventional wisdom says that you should not do too much in an ISR and I'd say that's too much.

That said it appears to be working well.

What's generating these interrupts?


Rob