I need help!
Archiver
Posts: 46,084
Could someone please drop me a line on how to program my stamp to
run 6 LED's the way 2 sets of lights would. I'm having trouble
running the one set while the other set run opposite to it.
any help would be greatly appreciated!
these are the light pauses
Red-5 sec
Green-4 sec
Yellow-1 sec
run 6 LED's the way 2 sets of lights would. I'm having trouble
running the one set while the other set run opposite to it.
any help would be greatly appreciated!
these are the light pauses
Red-5 sec
Green-4 sec
Yellow-1 sec
Comments
pins off or on as needed.
Assuming this is a BS2 with 16 pins -- the pins are numbered pin 0 - pin 15
and the pins are assigned as below:
pin 0 north-south red
pin 1 north-south yellow
pin 2 north-south green
pin 3 east-west red
pin 4 east-west yellow
pin 5 east-west green
pin 6 -15 unused right now -- nothing connected to them
OUTL will write pins 0-7 all at once, so all you have to do is figure out
the patterns, write them to the output and wait the specified period of
time. Obviously you will have some extra steps since the timing on the
lights is not all the same. In this example, if the pin is high, the light
is on.
The variable is laid out like this -- pin 7 ---- pin 0
OUTL = %00100001 'n-s red, e-w green for 4 seconds
PAUSE 4000
OUTL = %00010001 'n-s red, e-w yellow for 1 second
PAUSE 1000
OUTL = %00001001 'n-s red, e-w red for 1 second
PAUSE 1000
OUTL = %00001100 'n-s green, e-w red for 4 seconds
PAUSE 4000
OUTL = %00001010 'n-s yellow, e-w red for 1 second
PAUSE 1000
OUTL = %00001001 'n-s red, e-w red for 1 second
PAUSE 1000
Original Message
From: "virgil_arkiss" <virgil_arkiss@y...>
To: <basicstamps@yahoogroups.com>
Sent: Friday, September 20, 2002 9:45 PM
Subject: [noparse][[/noparse]basicstamps] I need help!
> Could someone please drop me a line on how to program my stamp to
> run 6 LED's the way 2 sets of lights would. I'm having trouble
> running the one set while the other set run opposite to it.
>
> any help would be greatly appreciated!
>
> these are the light pauses
>
> Red-5 sec
> Green-4 sec
> Yellow-1 sec
>
>
> To UNSUBSCRIBE, just send mail to:
> basicstamps-unsubscribe@yahoogroups.com
> from the same email address that you subscribed. Text in the Subject and
Body of the message will be ignored.
>
>
> Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
>
>