View Single Post
  #5   Spotlight this post!  
Unread 01-02-2010, 21:25
Radical Pi Radical Pi is offline
Putting the Jumper in the Bumper
AKA: Ian Thompson
FRC #0639 (Code Red Robotics)
Team Role: Programmer
 
Join Date: Jan 2010
Rookie Year: 2010
Location: New York
Posts: 655
Radical Pi has a spectacular aura aboutRadical Pi has a spectacular aura aboutRadical Pi has a spectacular aura about
Re: Solenoid Output in Dashboard

yeah, that example doesn't do the solenoids. If you look at the code:
Code:
// Can't read solenoids without an instance of the object
dash.AddU8((char) 0);
that is what is sending the solenoid output. Almost all of the outputs in that example are really just hard-coded and don't actually pay attention to the real I/O. You will probably want to re-write that for the actual dashboard you use