View Single Post
  #6   Spotlight this post!  
Unread 02-02-2008, 19:23
wt200999's Avatar
wt200999 wt200999 is offline
Texas Instruments
AKA: Will Toth
FRC #3005 (Robochargers)
Team Role: Mentor
 
Join Date: Mar 2006
Rookie Year: 2004
Location: Dallas, Texas
Posts: 323
wt200999 has much to be proud ofwt200999 has much to be proud ofwt200999 has much to be proud ofwt200999 has much to be proud ofwt200999 has much to be proud ofwt200999 has much to be proud ofwt200999 has much to be proud ofwt200999 has much to be proud ofwt200999 has much to be proud of
Send a message via MSN to wt200999
Re: Sending data from RC to OI

Yes the example in the default code if for the LEDson the far right side of the OI.The dashboard port is output only. It automatically sends back data at high speeds. Each packet of info is 26 bytes, and is outlined on a datasheet that is included in a zip of the program here: http://ifirobotics.com/dashboard_viewer.shtml In it there are a couple of different things like "USER_BYTE1" or something like that. You can set those in your code I think its just

Code:
user_byte1 = x;
but you can look that up in p18f8722.h
__________________
Programming in LabVIEW? Try VI Snippets!

FIRST LEGO League 2004 - 2005
FRC Team 870 Student 2006 - 2009
FRC Team 3005 Mentor 2013 -

Last edited by wt200999 : 02-02-2008 at 19:27.