View Single Post
  #3   Spotlight this post!  
Unread 07-02-2015, 22:56
Herbie_3633 Herbie_3633 is offline
Registered User
FRC #3633
 
Join Date: Jan 2013
Location: Albert lea
Posts: 26
Herbie_3633 is infamous around these partsHerbie_3633 is infamous around these parts
Re: Potentiometer values not changing

Code:
 While(IsOperatorControl()&& IsEnabled()){
                double pot = DartPot->Get();

                if(){
                    
                    }

                else if(stick->GetRawButton(1) == 1){
                      std::cout<<(pot)<<std::endl;
               }
}
The above if statement is not relevant to the pot.