Quote:
|
Originally Posted by whytheheckme
Thats a great idea. How would I convert the data stream from the dashboard port to something usable in PBASIC? We have some of those old robot controllers, but they couldn't be directly compatible with today's data stream. The LED chip drivers would be easy to obtain, so that wouldn't be a problem.
Again, Thanks for the Idea,
Jacob Komar
--
-There are 10 types of people in this world; Those who understand binary, and those who don't.
|
My PBASIC is a little rusty, but isn't there a SERIN command?
It should be a simple matter of parsing the datastream for the flag bytes (255,255), and then loading the packet bytes into a buffer.
The dashboard datastream isn't anything special, just a bunch of characters sent at 19200 baud.
See the specification here:
http://robotics.dyndns.org/DATASHEET...BOARD_SPEC.pdf
Hope this helps!
__________________
CMUCam not working? Tracks sporadically? Try this instead:
http://www.falconir.com!
PM me for more information if you are interested (it's open source!).
Want the FIRST Email blasts? See here:
http://www.chiefdelphi.com/forums/sh...ad.php?t=50809
"The harder the conflict, the more glorious the triumph. What we obtain too cheaply, we esteem too lightly; it is dearness only that gives everything its value."
-- Thomas Paine
If it's falling apart it's a mechanical problem. If it's spewing smoke it's a electrical problem.
If it's rampaging around destroying things it's a programming problem.
"All technology is run on 'Magic Smoke' contained within the device. As everyone knows, whenever the magic smoke is released, the device ceases to function."
-- Anonymous
I currently speak: English, some German, Verilog, x86 and 8051 Assembler, C, C++, VB, VB.NET, ASP, PHP, HTML, UNIX and SQL