Quote:
Originally Posted by iTHOS=awesome
Our electronics team has decided to use the solenoid (sp?) breakout on the cRio this year. My question is ... how do you define a solenoid (sp?) and control it in C++?
|
You use the (big surprise... spoiler alert...) Solenoid class. Pass the channel (and optionally the module slot) to the constructor. Then call Set to set the value. Probably the simplest class in the library.
I'm guessing you posted this before looking at the library. Or did you have a specific question that you forgot to include?