Quote:
Originally Posted by Tanis
Where in the coding do the pins for the relay lights get mapped to relay lights (or is it in the OI's code)?
|
It's in the
user_routines.c file, I think at the end of either
process_data_from_master_uP() or
Default_routine() (don't rely on my memory for proper spelling or capitalization of the function names).
Quote:
|
Finally, is there a way to hook up an LED display (4 digit) to the OI?
|
The OI already has a 4-digit LED display. You can use the "user byte" feature to send an eight-bit integer to be shown on it.
Quote:
|
We were thinking that an LED display to display the pressure in the pneumatics would be a great feature.
|
We did exactly that for our 2004 robot. A "diagnostic select" switch let us choose among pneumatic pressure and feedback from the turret, elbow, and wrist position sensors. It turned out not to be very useful during competition, but it helped a lot for setting limits and presets when programming.
Quote:
|
We would like to hook something like this up to the OI. Ignoring external power rules, could we make it work?
|
If you want to do something like that, using the dashboard port is probably the best way to do it. External power is not an issue for things connected to it, and you can send back six bytes of arbitrary data without restriction. You can also cheat and repurpose unused PWM channels as extra data bytes (though I think the value FF is forbidden, and gets sent as FE).