Other Parts Discussed in Thread: MSP430G2553
#include <msp430.h> #include <stdint.h> #include <stdbool.h> #include <stdio.h> #include <math.h> #include <string.h> #include "TCA6424A.h" unsigned char TCA6424A_ADDRESS = 0x22; unsigned char LED_config1 = 0x84; //LEDs 1-4 unsigned char LED_config2 = 0x85; //LEDs 5-12 unsigned char LED_config3 = 0x85; //LEDs 13-20 short value = 0xF300; //short value = ReceiveBuffer int main () { WDTCTL = WDTPW | WDTHOLD; // Stop watchdog timer unsigned char regVal = 0x10; I2C_Write_Byte(TCA6424A_ADDRESS, LED_config1, regVal); }
Based on the code included I'm seeing a couple of errors, I can't seem to find a solution for the issues I'm seeing.