Go to Post Kids don't just decide they want to build robots then build the next Einstein champion the next year. - kjolana1124 [more]
Home
Go Back   Chief Delphi > Technical > Programming
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Closed Thread
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 04-02-2007, 13:27
bobpskier bobpskier is offline
Registered User
FRC #0159 (Alpine Robotics)
Team Role: Mentor
 
Join Date: Jan 2007
Rookie Year: 2006
Location: Fort Collins, Colorado
Posts: 7
bobpskier is an unknown quantity at this point
Setting Dashboard UserBytes

Is it possible to set the UserBytes sent via the OI's dashboard port using EasyC Pro? It looks like we can set LEDs and the UserDisplay on the OI. I have not seen any API that gives us control over the userbytes.

We'd like to send some additional data through the dashboard port. Using MPLab we could set these userbytes. This year we've been working in EasyC Pro. We are trying to integrate some additional data to be displayed in LabView via the dashboard port.

Thanks,

Bob Potterveld
  #2   Spotlight this post!  
Unread 04-02-2007, 22:57
Kingofl337's Avatar
Kingofl337 Kingofl337 is offline
You didn't see anything....
AKA: Adam
FRC #0501 (Power Knights)
Team Role: Mentor
 
Join Date: Feb 2005
Rookie Year: 1998
Location: Manchester, NH
Posts: 861
Kingofl337 has a reputation beyond reputeKingofl337 has a reputation beyond reputeKingofl337 has a reputation beyond reputeKingofl337 has a reputation beyond reputeKingofl337 has a reputation beyond reputeKingofl337 has a reputation beyond reputeKingofl337 has a reputation beyond reputeKingofl337 has a reputation beyond reputeKingofl337 has a reputation beyond reputeKingofl337 has a reputation beyond reputeKingofl337 has a reputation beyond repute
Send a message via Yahoo to Kingofl337
Re: Setting Dashboard UserBytes

Yes you can write to the dashboard in easyC PRO. The command is

SetUserByte(unsigned char index, unsigned char value);

Example:
unsigned char value;
value = 52;
SetUserByte(6, value);
__________________
FIRST Team 501 PowerKnights - Mentor
FIRST Team 40 Checkmate - Mentor Alum
FIRST Team 146 Blue Lightning - Alumni
  #3   Spotlight this post!  
Unread 05-02-2007, 21:36
bobpskier bobpskier is offline
Registered User
FRC #0159 (Alpine Robotics)
Team Role: Mentor
 
Join Date: Jan 2007
Rookie Year: 2006
Location: Fort Collins, Colorado
Posts: 7
bobpskier is an unknown quantity at this point
Re: Setting Dashboard UserBytes

Thanks for the info. Once we upgraded to EasyC Pro version 3.0.1.1 we were able to link properly using the function SetUserByte(). Apparently the 3.0.0.1 version did not contain this function to link against.

Thanks,

Bob Potterveld
Closed Thread


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Labview Dashboard and updated IFI dashboard spec Joe Ross LabView and Data Acquisition 1 04-04-2006 02:04
setting camera sbwprotoss9 Technical Discussion 0 17-01-2006 21:05
2004 Dashboard Protocal vs 2005 Dashboard Protocal Kyle T Programming 4 14-03-2005 22:19
Setting up Apache2... Mike AA Website Design/Showcase 7 08-06-2004 19:18
Setting up a webcam D.J. Fluck Chit-Chat 1 08-09-2003 01:32


All times are GMT -5. The time now is 23:48.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi