View Single Post
  #2   Spotlight this post!  
Unread 02-04-2009, 10:38
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,740
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: Autonmous switching questions

As always there are several ways to do this.
Here's one that uses all 8 digital inputs. The values from the "Boolean Array to Number" will return case numbers 1, 2, & 4 for what you described.

There's more to the DS side than moving a jumper however.
Without any jumper in place, the DS Digital inputs will float around returning random values.
A switch would be handier, but if you do use jumpers, then you'll need
-- one that jumpers signal to 5v
-- another that jumpers signal to ground

Never leave any of the DS pins you are using without a jumper of one type or another in place.
Attached Thumbnails
Click image for larger version

Name:	DS_switch_case.jpg
Views:	64
Size:	9.7 KB
ID:	7773  
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle

Last edited by Mark McLeod : 02-04-2009 at 10:46.
Reply With Quote