Quote:
Originally Posted by CooneyTech
If its a SD by its self how exactly do I reference it? And for a loop would a while loop work ok?
|
Most of the time, you would "reference" a SmartDashboard variable simply by looking at it on the Dashboard's front panel, or by clicking on it, or by typing a number in it.
A While loop is perfect. Just make sure to include a short delay (50 ms or so) to keep it from monopolizing the CPU.