|
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
|