This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

TCA6424A: I2C Communication with MSP430G2ET

Part Number: TCA6424A
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.