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.
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
AnalogPotentiometer pot = new AnalogPotentiometer(0, 360, 30);
SmartDashboard.putNumber("Potentiometer Value", pot.get());
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.