View Single Post
  #4   Spotlight this post!  
Unread 01-22-2010, 11:40 AM
derekwhite's Avatar
derekwhite derekwhite is offline
Java Virtual Machine Hacker
no team (FIRST@Oracle)
Team Role: Programmer
 
Join Date: May 2009
Rookie Year: 2009
Location: Burlington, MA
Posts: 127
derekwhite is on a distinguished road
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.
Reply With Quote