ATMEGA328 TWI communication

Hi, Thanks to anyone who took the time to read this, it has now been solved. A fresh pot of coffee and another hour looking at it and I realised I made a mistake with the register address I was writing too, I wrote B6 instead of 6B.
Lesson learned sometimes take a break!!

If anyone did read the code and noticed and errors or things worth improving please let me know.

BR all
D