Jump to content
43oh

BragaD0

Members
  • Content Count

    2
  • Joined

  • Last visited

Everything posted by BragaD0

  1. Hello, Thank you for sharing your code. By using it as a reference I was able to achieve what I needed. Sorry for taking so long to reply. Diego
  2. Hello, I`m trying to use PCF8574N with the MSP430G2553, but with no luck so far. I tried several examples but nothing seems to work. Basically, what i`m trying to do is light up a selected number of LEDs using the PCF8574N, but no matter the value I use in the UCB0TXBUF, P0 to P7 are always on HIGH, please see the code below: #include <msp430.h> int main(void) { WDTCTL = WDTPW + WDTHOLD; // Stop Watchdog Timer P1SEL |= BIT6 + BIT7; // Assign I2C pins to USCI_B0 P1SEL2|= BIT6 + BIT7; // Assign I2C pins to US
×
×
  • Create New...