@funkathustra you're bang on; I don't know what I'm doing. I've never done embedded code from scratch, and frankly doubt I ever will; my degree isn't in that. So I've never learned it, and only worked with Arduino and TI (for a bit) before, which gives no exposure to actual embedded code. I'd love to go through and code the whole thing on my own, but I simply don't have the time and this needs to be finished asap, since there are other components to it.
My issue with Atmel Start is that is sets it all up, but it doesn't really say what's going on. So when I try and change the example to preform for example a reading over i2c rather than a write, I couldn't get it to work properly. That's why I prefer sample code (some thing that TI for example, has lots of) and usually rely on it to learn what going on in the code. Which is why I'm grateful people like @ataradov share their code; it's a great place to start. And it usually takes me a bit to figure out what's happening before I can properly use it.
@ataradov I knew it was one of those; this is what happens when you try and code late in the day. Thanks