|
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.
__________________
"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.
|