I am very new to programming and am attempting my first try at programming an LED using I2C. I’ve been asked to use the TI TLC59108F LED driver to control a Clear 'Piranha' Super-flux RGB (tri-color) LED - Common Anode from Adafruit. I am working with a student electrical/mechanical engineer and we are not getting results. I am hoping someone can point us in the right direction. I have attached a copy of my code and the datasheet for the driver. We can load the script onto the SN171 and get an I2C_SUCCESS status back from each function but cannot make the LED light. My question concerns my code; can someone please look it over and tell me if the problem is with the code or if we should be looking at the hardware. We’ve tried to hook the SN171 directly to an oscilloscope and my engineer is telling me that we are not getting expected results. Whatever signal that is coming out is too small to read. The DC voltage cannot be detected and you can only see a small amount of AC. The SCL is connected to GPIO_18 and the SDA is connected to GPIO_17.
I understand that I may be entirely off base but I would appreciate ANY help anyone is willing to give. I am completely new to programming and am self-taught. Thank you.
I understand that I may be entirely off base but I would appreciate ANY help anyone is willing to give. I am completely new to programming and am self-taught. Thank you.
Comment