It does not appear you have set GP5 as an input.
Try:
TRISIO=%101011
Good Luck,
Paul Borgmeier
Salt Lake City, Utah
USA
edit - looks like I hit return 3 minutes after Bruce did (at least we match) pb
It does not appear you have set GP5 as an input.
Try:
TRISIO=%101011
Good Luck,
Paul Borgmeier
Salt Lake City, Utah
USA
edit - looks like I hit return 3 minutes after Bruce did (at least we match) pb
Last edited by paul borgmeier; - 10th April 2006 at 23:40.
Many thanks everyone. It was the TRISIO data. As you identified I didn't enable GPIO.5 as an input!
It was late and too much coffee. It didn't help the software acting as if the port was an input...
Now working as expected.
Thanks,
BobP
Bookmarks