View Single Post
  #6   Spotlight this post!  
Unread 01-02-2007, 11:55
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,856
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: Microswitch problem

Here is a table of how to set the relay values to get the different results possible. It's from the IFI Spike document: http://www.ifirobotics.com/docs/spik...uide-sep05.pdf

We don't usually set both "rev" and "fwd" to 1 at the same time.

Both fwd=0;rev=0; as well as fwd=1;rev=1; should mean the motor is off.

This code will execute one section only as long as the switch is depressed and the other whenever the switch is not pressed.
Attached Thumbnails
Click image for larger version

Name:	SpikeControl.jpg
Views:	23
Size:	92.6 KB
ID:	4990  
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle