I too am a NU B. I understand the coding from Melanies example. But how would I config PORTA 0-3 to read my switch. Seems the option register only controls port B options. I know it is probably uber simple, just eluding me at the time!

Thanks in advance...

Shawn