Search the Community
Showing results for tags 'pull-up resistor'.
First post!!!! I want to enable internal pull-ups for i2c on pins P1_6 and P1_7. A search on existing discussion on this topic yielded this: http://forum.43oh.com/topic/2641-i2c-lcd/ "I2C requires a pull up resistor on both SCL and SDA. You can enable the internal pull up in the msp430 on the I2C lines by doing: pinMode(P1_6, INPUT_PULLUP); pinMode(P1_7, INPUT_PULLUP);" Is that right? I tried it and it does not work. I was wondering that i2c SDA is bidirectional so setting pinmode as INPUT might not be the right thing. Has anyone tested this and gotten it to work without external p