View Single Post
  #7   Spotlight this post!  
Unread 11-01-2005, 13:19
Mark McLeod's Avatar
Mark McLeod Mark McLeod is offline
Just Itinerant
AKA: Hey dad...Father...MARK
FRC #0358 (Robotic Eagles)
Team Role: Engineer
 
Join Date: Mar 2003
Rookie Year: 2002
Location: Hauppauge, Long Island, NY
Posts: 8,710
Mark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond repute
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.