|
Re: How to program solenoid and compressor?
OK, there's some solenoid example code in the DefaultCodeProject.
From NetBeans, select "File/New Project...". In the window, open the "Samples" folder, select "FRC Java", then "DefaultCodeProject.zip" and continue making the project from there.
Also, as I mentioned before there is some test code in WPILibJ. To see that code, select "File/Open Project...". Navigate to your "sunspotfrcsdk" directory, then the "lib" directory under that. From there select WPILibJ.
|