Checking the v4 cortex digital and analog ports to see if they are working?

is there something in robot c where i can check all the ports without having to test each one individually.
Any tips would help

Yes, you can connect the Cortex to your laptop and put it into a debug mode where it will show you all the port values. But you need to write a program that declares all the digital and analog ports so the program knows to read them.

And of course you need to plug something into those ports.