Search the Community
Showing results for tags 'twi.c'.
-
Hi, I tried to run this I2C Scanner sketch but i get this error. Does anyone know why and how I can fix this, please? I use msp430g2553.
-
So, I've read the threads and have made things work once, but now, without seeming to have changed anything, I'm getting code that goes into never-never land.. In twi.c, around line 607 in Energia version 17, I get a lockup in the first while statement: #if defined(__MSP430_HAS_USCI__) || defined(__MSP430_HAS_USCI_B0__) || defined(__MSP430_HAS_USCI_B1__) /* Ensure stop/start condition got sent before we exit. */ if(sendStop) { while (UCBxCTL1 & UCTXSTP); // end with stop condition } else { while (UCBxCTL1 & UCTXSTT); // end with (re)start condition } #endif I've been
- 2 replies
-
- I2C
- MSP430G2553
-
(and 5 more)
Tagged with: