//private MicroMaestro mm; //private int timer; /// <summary> /// Main method which initializes the robot, and creates /// the radio's and student code's threads. Begins running /// the threads, and then runs the robot thread indefinitely. /// </summary> public static void Main() { // Initialize robot Robot robot = new Robot("1", "COM4"); robot.Auton(false); Master master = new Master(new StudentCode(robot)); master.RunCode(); }
/// <summary> /// Main method which initializes the robot, and starts /// it running. /// </summary> public static void Main() { // Initialize robot Robot robot = new Robot("1", "COM4"); robot.Auton(false); Debug.Print("Code loaded successfully!"); Master master = new Master(new StudentCode(robot)); master.RunCode(); }