RCM4000

I am trying to write a basic program that makes a running effect from side to side with 8 leds. the problem is that i have to use different bits on different ports. i would like to use port c but do not know how to make it not a serial port. any suggestions?

i would also like to know how to check to see if a bit in a port is on or off?

thanks
brandon

I think you need to do a little bit more work yourself before asking really basic questions like this!

First read the manual for the RCM4000 and pay specific details to PCCR and PCDR and the ‘shadow’ registers.

Port C won’t be a serial port unless you have specifically called one of the serOpen() functions, so you can configure it for output, set whatever pins you like to 1 or 0 and check the status of any pin by checking the shadow register.