View Single Post
  #6   Spotlight this post!  
Unread 16-01-2016, 00:24
joelg236 joelg236 is offline
4334 Retired Mentor & Alumni
AKA: Joel Gallant
no team
Team Role: Mentor
 
Join Date: Dec 2011
Rookie Year: 2012
Location: Calgary
Posts: 733
joelg236 has a reputation beyond reputejoelg236 has a reputation beyond reputejoelg236 has a reputation beyond reputejoelg236 has a reputation beyond reputejoelg236 has a reputation beyond reputejoelg236 has a reputation beyond reputejoelg236 has a reputation beyond reputejoelg236 has a reputation beyond reputejoelg236 has a reputation beyond reputejoelg236 has a reputation beyond reputejoelg236 has a reputation beyond repute
Re: Defining/Setting a motor in Java

The error stack shows Robot.java:31, meaning line 31. You don't have 31 lines posted in your thread.

And you're missing a curly brace to close the class. The above by itself wouldn't compile.
__________________
All opinions are my own.
Reply With Quote