|
Re: "Host cannot connect to subnet"
Object Autonomous;
if (Autonomous != null) Autonomous.cancel();
^That's the line of code. It has an error on the word "cancel". There's another one farther up that has "start" at the end that is also an error. The error says "The method cancel() is undefined for the type object".
On some other lines of code:
public IO() {
joystick1 = new Joystick(1);
joystick2 = new Joystick(2);
NoodleOn = new JoystickButton(joystick2, 3);
NoodleOn.whileHeld(new NoodleOn());
NoodleOff = new JoystickButton(joystick2, 4);
NoodleOff.whileHeld(new NoodleOff());
joystick(1), joystick(2),JoystickButton, NoodleOn, and NoodleOff are errors. The error says "Cannot instantiate the type joystick"
Last edited by BrighidKHeh : 12-02-2015 at 17:58.
|