Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   Programming (http://www.chiefdelphi.com/forums/forumdisplay.php?f=51)
-   -   Creating a dashboard program (http://www.chiefdelphi.com/forums/showthread.php?t=20467)

Jeff_Rice 04-05-2003 19:42

I have been reading the innovation first documentation on this, and I have discovered that you can use analog sensor bytes 1 through 5. If you edited these bytes, the edited results would get sent to the oi dashboard port. I want to try this, but I don't have the necessary programming skills yet. Could somebody try this and tell me if it works?

If it does, then you have six bytes in which to put your dashboard data. (I'm still counting the led byte)

http://www.innovationfirst.com/FIRST...rd%20_Spec.pdf

Oneangrydwarf: I agree with you. It would be awesome to make a control with tactile feedback.

DanL 04-05-2003 19:50

http://www.innovationfirst.com/FIRST...m_Overview.pdf

View Page 4

There are three processors on the Robot Controller. The two of significance are the main processor and the PBasic stamp. The return information is sent back by the main processor. It's the main processor that reads in the analog inputs and sends them to the PBasic stamp. The PBasic stamp only returns the dashboard bits (the LED bits in the code). After the PBasic stamp does that, the main processor gathers all of the information and sends it to the modem to be transported back to the OI.

Bottom line, you're thinking good, but you can't do that. The only bits that you can change are the 8 in the dashboard byte and the BasicRun bit.

Jeff_Rice 04-05-2003 21:04

Well...

How about using a couple of first or last bits as sigs?

ie:

00(2bits +1st part of byte 1)
11(2bits +second part of byte 1)
10(2bits +1st part of byte # 2)
01(2 bits +2nd part of byte # 2)

This would take at least .1 seconds to do, but you get two bytes out of the deal. My guess is that your problems arose because of the order in which the bytes and bits are sent.

Edit/
You could even do a third byte from the bits

Adam Shapiro 04-05-2003 23:21

Hey everyone. I just posted the code for Dashboard3D http://www.chiefdelphi.com/forums/sh...threadid=20592. Please check it out and, if you still want to make your own dashboard, it could be very useful. It is in total working condition.


All times are GMT -5. The time now is 05:35.

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