How do you define / initialize new motors and pistons in EZ template PROS?

I’ve been trying to figure out of the initialize motors and pistons in the EZ template. Usually i would type something like “pros::motor motorName(1);” or " pros::ADIDigitalOut piston(‘A’); but i not sure if i need to do that or where to do it in the EZ template. can someone help me thanks.

Ez template is just an add on to pros to give more control over the drivetrain, everything else is done the same as in base pros

2 Likes

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.