View Single Post
  #2   Spotlight this post!  
Unread 27-03-2010, 20:16
Zme Zme is offline
Registered User
FRC #2619
 
Join Date: Jan 2009
Location: Michigan
Posts: 83
Zme is on a distinguished road
Re: need Dashboard help

questions are not a problem, how else would people learn?

the person that told you they are picked up by default may not of been wrong, i believe they might be in labview but i can't confirm that myself.

as for modifying the dashboard data sender file, you want to open up the .cpp file and look for the following lines

dash.AddFloat((float) i * 5.0 / 8.0);
dash.AddU16((short) 0xAAAA);
dash.AddU16((short) 0x7777);
dash.AddU8((unsigned char) (i-1) * 255 / 9);
dash.AddU8((unsigned char) i * 255 / 10);

(I think this is all of them but i'm not sure, look around, if you see anything that looks odd feel free to ask)

around these lines should be a commented out line, usually right next to it, uncomment it and comment out the current line and try that it should get you up and running
Reply With Quote