Thread: Voltage vs time
View Single Post
  #3   Spotlight this post!  
Unread 23-03-2009, 18:31
byteit101's Avatar
byteit101 byteit101 is offline
WPILib maintainer (WPI)
AKA: Patrick Plenefisch
no team (The Cat Attack (Formerly))
Team Role: Programmer
 
Join Date: Jan 2009
Rookie Year: 2009
Location: Worcester
Posts: 699
byteit101 is a glorious beacon of lightbyteit101 is a glorious beacon of lightbyteit101 is a glorious beacon of lightbyteit101 is a glorious beacon of lightbyteit101 is a glorious beacon of lightbyteit101 is a glorious beacon of light
Re: Voltage vs time

I'm a C++ person, but the reason you have the "random" numbers is because this is what happens:
Power->crio->boot sequence->start system clock->other stuff that takes time and increments the system clock-> you download code after you wait a while for it to boot up, and compile->eventualy, it runs, and returns the current (mili?)second count?->you look at the data and wonder what is going on???->you post this thread
__________________
Bubble Wrap: programmers rewards
Watchdog.Kill();
printf("Watchdog is Dead, Celebrate!");
How to make a self aware robot: while (∞) cout<<(sqrt(-∞)/-0);
Previously FRC 451 (The Cat Attack)
Now part of the class of 2016 at WPI & helping on WPILib
Reply With Quote