Hello all,
So before build season our team was doing a couple side projects that we now, at the start of build season, wish to finish up. One of these side projects includes pneumatics, wired and set up to the typical FRC rules and style, which we would like to program to run in a certain sequence. Since we had a vex cortex controller lying around, we decided to attempt to use that to run the entire sequence. However, being completely unfamiliar with the Vex Cortex, nor any programming language in relation to it (For our FRC robot we have tended to stick to labview in the past), I have become quite lost. My main question is how does one go about programming a Spike Relay in RobotC? Am I simply missing libraries or would I have to construct them myself? I had attempted to look up some sample code or any tutorial or such but wasn't able to find much help, other then the sample here:
http://www.stemrobotics.org/mediawik...itle=VEX_Spike which does not compile, stating errors in the code, however I may just have the wrong syntax or just am starting the code incorrectly or incorrectly changing variables (as I said, I have absolutely no knowledge in this area) And as a second question, since our pneumatic system contains a compressor, I was wondering if it is possible to wire and program the Nason Pneumatic Pressure Switch with the Vex Cortex? Thanks. Any and all help or knowledge would be appreciated.