Read the I2C documentation in the user manual. P0.02 and P0.03 are open drain pins. You need a pull-up. (Been there, done that, got the T-shirt!) -----Original Message----- From: rkd0930home [mailto:rkd0930@...] Sent: Tuesday, July 27, 2004 6:46 AM To: lpc2000@yahoogroups.com Subject: [lpc2000] Trouble with P0.2 as GPIO Hi All, I am having difficulty with controlling pin P0.2 as a GPIO output signal. I am successfully controlling several other pins on my board. I have set bit 4 and 5 of PINSEL0 to zero. I have set bit 2 of IO0DIR to 1 and I have set bit 2 of IO0SET to 1. P0.2 stays at zero. I have used the same procedure on other pins with success. Is there something I am missing? Thanks, Bob Davis Yahoo! Groups Links
Message
RE: [lpc2000] Trouble with P0.2 as GPIO
2004-07-27 by Curt Powell
Attachments
- No local attachments were found for this message.