![]() |
How to print values on smartdashboard
Hello,
My team is attempting to program a potentiometer and get a value from it and have it displayed on the smartDashboard in the 2015 driver station. Starting with a potentiometer would be great, but if some help could be given in printing values for anything that would be even better. |
Re: How to print values on smartdashboard
I assume that you are putting a number from the potentiometer onto the dashboard. The code below is an example for when the potentiometer is connected to port 0
Code:
AnalogPotentiometer pot = new AnalogPotentiometer(0, 360, 30);
|
Re: How to print values on smartdashboard
So we have tried that but we still aren't printing to the smart dashboard. This code worked last year while using netbeans. We've also turned off IPV6.
|
Re: How to print values on smartdashboard
Never mind. We found that our IP was set to 255.0.0.0 when it needed to be 255.255.255.0. Thank you for the help.
|
| All times are GMT -5. The time now is 22:28. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi