So I already have all the 5 ports done. But what is the next steps in programming it?
That depends on what you’re trying to do. Also, which programming platform are you using? EasyC, RobotC, etc.?
You can learn the basics of RobotC here.
If your looking for help it may pay to be a little more specific. What have you done to the ports? What mechanisms do you have on your robot, what do you want them to do. What programming platform are you using? (RobotC, EasyC). Samples of your current code can also help.