View Single Post
  #6   Spotlight this post!  
Unread Yesterday, 18:30
Pay Me $2's Avatar
Pay Me $2 Pay Me $2 is offline
Registered User
AKA: La-Ya
FRC #4159 (CardinalBotics)
Team Role: Programmer
 
Join Date: Jan 2017
Rookie Year: 2017
Location: San Francisco, CA
Posts: 4
Pay Me $2 is an unknown quantity at this point
Re: Help! Timer Function in WPIlib.h

If you have a timer defined, you can Get() what its time is. For example,

Code:
timer = new frc::Timer();

timer.Reset();
timer.Start();


double time = timer.Get();
Reply With Quote