Go to Post and the only thing i see as a disadvantage to those long hours of hard work is a little less time to spend with my girlfriend - h1n1is4pigs [more]
Home
Go Back   Chief Delphi > Technical > Control System
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #10   Spotlight this post!  
Unread 07-02-2006, 18:19
devicenull devicenull is offline
Robot? We need a robot?
no team
 
Join Date: Sep 2004
Rookie Year: 1234
Location: n/a
Posts: 359
devicenull is just really nicedevicenull is just really nicedevicenull is just really nicedevicenull is just really nicedevicenull is just really nice
Re: Joystick Ports as Duplex Data Port

A better idea would be a sort of lookup table. You would have a table in your dashboard program, with stuff like:
"Battery voltage %i"
"Doing something - %i %i"
"I broke something"

Then, the RC would set say User_Byte1 to the correct value, and the rest of the user bytes to the parameters for that message. The dashboard program would then read those and display the proper message. Just using User_Byte1, you could have 255 messages..
 


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
Updated: Serial Port Driver Code Kevin Watson Programming 4 05-02-2005 18:39
New Serial Port Driver Kevin Watson Programming 16 09-01-2005 01:56
heres the code. y this not working omega Programming 16 31-03-2004 15:18
Fried program slots? Jeff Waegelin Programming 18 19-03-2003 18:08
Limiting PWM in pbasic archiver 2001 4 24-06-2002 00:38


All times are GMT -5. The time now is 07:19.

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