|
Re: Help with Solenoid Code In Java?
We figured it out! After much research into the wpilibj files, it turns out we just had the 9472 module plugged into the wrong slot. (although we did try to define the slot in the code before and it didn't work either). our code is working great now and we've even been able to get two double solenoid valves working.
of course after we figured that out, i noticed that the driver station even says "slot 8" for the solenoids. never noticed that before. whew!
and just in case anyone else is looking for the info, the default slots in the cRio are:
slot 8 for the 9472 module,
slot 1 for the analog module, and
slot 4 for the digital module.
thanks for everyone's help!
__________________
Wendy
Team 3502
|