Example #1
0
// called before either autonomous or user control
void
vexUserInit()
{
    SmartMotorsInit();
    SmartMotorCurrentMonitorEnable();
    SmartMotorRun();
}
void pre_auton()
{
  // Set bStopTasksBetweenModes to false if you want to keep user created tasks running between
  // Autonomous and Tele-Op modes. You will need to manage all user created tasks if set to false.
  bStopTasksBetweenModes = true;
  SmartMotorsInit();
  SmartMotorPtcMonitorEnable();
  SmartMotorCurrentMonitorEnable();
  lcdPreAuton();
}