Quote:
Originally Posted by twiggzee
I'm having the same problem. Compiles just fine but red light on driver station robot code.
When I comment out everything in public OI{}, I get green light on driver station robot code. But why??
TimTheGreat: What do you mean by "Try putting OI after everything"?
Thanks for your reply!
|
So in LFRobotics' code he has
Code:
oi = new OI();
pnue = new Pnuematics();
The problem is when you create a new OI object, it looks for robot.pneu. But as you can see pneu hasn't been created because it is after new OI(). So put new OI below the creation of everything else (in this case swap them).