Quote:
Originally Posted by iSpotix
I have always written it in one line directly under the class statement not in robotinit.
Talon motor = new Talon(0);
Your problem may be from splitting it up.
|
That shouldn't cause it, his motor reference would just be null prior to calling robotInit().