View Single Post
  #3   Spotlight this post!  
Unread 21-01-2015, 17:10
GeeTwo's Avatar
GeeTwo GeeTwo is online now
Technical Director
AKA: Gus Michel II
FRC #3946 (Tiger Robotics)
Team Role: Mentor
 
Join Date: Jan 2014
Rookie Year: 2013
Location: Slidell, LA
Posts: 3,609
GeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond repute
Re: Simple Pnuematics Program Issue

You never defined the object doubleSolenoid anywhere. You first used it inside the constructor, and then tried to use it in a method. You need to add the declaration of the object as an instance variable.

Try adding "DoubleSolenoid doubleSolenoid;" between the two lines which begin with public.

Last edited by GeeTwo : 21-01-2015 at 17:12. Reason: more specific answer
Reply With Quote