View Single Post
  #5   Spotlight this post!  
Unread 22-01-2006, 12:38
JBotAlan's Avatar
JBotAlan JBotAlan is offline
Forever chasing the 'bot around
AKA: Jacob Rau
FRC #5263
Team Role: Mentor
 
Join Date: Sep 2004
Rookie Year: 2004
Location: Riverview, MI
Posts: 723
JBotAlan has a reputation beyond reputeJBotAlan has a reputation beyond reputeJBotAlan has a reputation beyond reputeJBotAlan has a reputation beyond reputeJBotAlan has a reputation beyond reputeJBotAlan has a reputation beyond reputeJBotAlan has a reputation beyond reputeJBotAlan has a reputation beyond reputeJBotAlan has a reputation beyond reputeJBotAlan has a reputation beyond reputeJBotAlan has a reputation beyond repute
Send a message via AIM to JBotAlan Send a message via Yahoo to JBotAlan
Re: Sending data back to the OI

From what I remember (and if you wait a few minutes I'll dig up the whitepapers) the Dashboard program can receive the status of the PWM lights. In your code, there are lines that look like this:
Pwm1_green = 1;
Pwm2_red = 0;

And so on. They aren't in that order, but you get the point. These are what cause the red/green lights on the OI to change. You can write a program for the computer (hopefully you can do this) to get the Dashboard packets (again, I'll dig up the applicable whitepaper in a moment). That program can play a sound if the lights are in a certain state. I'm sorry I don't have specifics at the moment, but I will edit this as soon as I do.

I also might write a program to do this soon, just to see what I can do.

JBotAlan

EDIT: I found the list of whitepapers. http://www.chiefdelphi.com/forums/pa... ESC&sort=date
I might write something to do this, I might not. Hopefully you have someone on your team that can write programs for the computer. Good luck!
__________________
Aren't signatures a bit outdated?

Last edited by JBotAlan : 22-01-2006 at 12:41. Reason: More info