|
Re: extra connector on breaker panel
Quote:
|
Originally Posted by scitobor 617
It would be nice to monitor the breaker during matches, is there a way to do that?
|
It's setup to read the breaker status in the default code if the breaker panel is connected to the RC program port.
Code:
if (aBreakerWasTripped)
{
for (i=1;i<29;i++)
{
if (Breaker_Tripped(i))
User_Byte1 = i; /* Update the last breaker tripped on User_Byte1 (to demonstrate the use of a user byte)
Normally, you do something else if a breaker got tripped (ex: limit a PWM output) */
}
}
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle
Last edited by Mark McLeod : 11-01-2005 at 13:28.
|