View Single Post
  #8   Spotlight this post!  
Unread 12-12-2012, 16:57
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: Quick Question about Threads

Also, if you are feeling lazy, the wpilibj has a class called Timer that has a static method delay(double seconds). It just uses Thread.sleep(), but converts the double correctly and catches the exception.
__________________
All opinions are my own.
Reply With Quote