Yahoo Groups archive

Lpc2000

Index last updated: 2026-04-28 23:31 UTC

Message

Re: [lpc2000] Trouble with P0.2 as GPIO

2004-07-27 by Robert Adsett

At 01:45 PM 7/27/04 +0000, you wrote:
>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?

That's one of the I2C pins, do you have a pull-up on it?

Robert

" 'Freedom' has no meaning of itself.  There are always restrictions,
be they legal, genetic, or physical.  If you don't believe me, try to
chew a radio signal. "

                         Kelvin Throop, III

Attachments

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.