View Single Post
  #8   Spotlight this post!  
Unread 19-03-2013, 11:23
Alan Anderson's Avatar
Alan Anderson Alan Anderson is offline
Software Architect
FRC #0045 (TechnoKats)
Team Role: Mentor
 
Join Date: Feb 2004
Rookie Year: 2004
Location: Kokomo, Indiana
Posts: 9,112
Alan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond repute
Re: Pneumatics Programming help

That's close, but you never declared Compress as a compressor object. I don't know why you named your Jaguar using the word Victor, but you sure shouldn't be trying to control it by setting its output with Relay constants instead of numbers.

It's not easy to read the code with no indented lines. If you put [CODE] and [/CODE] tags around it, it will render much better.

Quote:
Originally Posted by Jaysonscott View Post
and as an error it tells me it does not recognize start as a function
If you copy the actual error message instead of paraphrasing it, we'll be better able to interpret it for you. My guess right now is that it's telling you that Compress.Start() is not a function because Compress doesn't actually exist.
Reply With Quote