Tom Moulton

Simple GPIO Read Test

Discussion created by Tom Moulton on Aug 27, 2010
Latest reply on Sep 3, 2010 by Tom Moulton

This example is so simple I can not see why it does not work!

It just loops reading a pin table from gpio:read and extracts the values and prints them.

They all come up as 1

any ideas?

I am running MQX 3.6 on a mcf52259demo board.

I have the gpio pins wired on J4 so I can pull the up/down to try to watch for changes

tom

Original Attachment has been moved to: 171-gpio_test.c

Outcomes