http://www.piclist.org/techref/io/parallel/port.htm#38023.3092708333 James C Perkins[JCP-UPG-I77] Questions: I am looking for a simple c code example for basic input and output functions. I have switches for the inputs and driving leds on the output. Thanks for any help!