Re: Rookie Java FRC programming buttons
So what would be the code for creating a Thread class?
Do I need to create a new class inside my current package, and then in the main class call Loop xyz = new Loop();, or do i need a certain constructor? Also, with xyz.start(); I read on the internet that these threads have precedence. Does this mean I can have the main class running at the same time or no?
EDIT: Also, If I do need to make a new class, what methods do I need to define and how do I call them in the tele-op method?
Thanks again.
Last edited by aweso_meme : 12-02-2014 at 17:22.
|