Hello Daniel Harthan,
Lets go step by step to solve your case. First it's important that you understand how I2C protocol works. Based on what you wrote I understood that you read the information of I2C that is available in the user manual of the LPC that you are using, this is a good starting point. However, it will be better if you read first the next document: I2C-bus specification and user manual . This document explains all you need to know about I2C protocol.
Once you understood how I2C works the next thing to do is look at an I2C example for the LPC that you are using. The LPC1115 has a package of examples named LPCOpen, here you will find an example of the I2C peripheral among any others. If you are using LPCXpresso you can find these examples in the next path:
- C:\nxp\LPCXpresso_8.2.2_650\lpcxpresso\Examples\LPCOpen\lpcopen_v2_00a_lpcxpresso_nxp_lpcxpresso_11c24.zip
Please noticed that LPC11c24 and LPC1115 are from the same family, so you can use these examples without any problems. Inside this folder you will find the I2C example. You need to import this to your LPCXpresso IDE and debug this step by step so you can understand how this works. Definitely, this as good starting point to your project and you can use this as a guide to talk with the servo controller.
I made a little research and I think that the servo controller that you are using is the next one: https://www.adafruit.com/product/815 is this correct? If so, I noticed that the controller is an NXP part, so you can reference the following page to learn more about this:
In the datasheet of this part you will find everything you need to know on how to talk to this controller in PWM mode that is the one you will be using. If you are using a different controller please let me know which one to see if it's also an NXP part.
Once you follow all the steps mentioned before you shouldn't have any problems to work with the servo controller.
Hope it helps!
Victor.
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------