New to group. trying to make two programs
Archiver
Posts: 46,084
Hi, I am trying mo make up two differant programs for my stamp. the
first thing that I am trying to atempt is Asynchronus serial
communitcation between two basic stamp boards. I found some
information that I will need 4 wires between the two stamps but I am
having trouble finding the information to code this. I want to send
the message ping , pong between the two boards..
my second project is to see if I can use the stamp as a reaction
timer.. I want to hook up a button to the prototype board and have
an led light up at a random time and then you have to press the
button asap. and then every other time you try to beat the previous
time.. ifyou beat it either a sound will tone or a differant led
will light.
I an new to programing with this board and am unsure if this is even
possible. thank you very much.
first thing that I am trying to atempt is Asynchronus serial
communitcation between two basic stamp boards. I found some
information that I will need 4 wires between the two stamps but I am
having trouble finding the information to code this. I want to send
the message ping , pong between the two boards..
my second project is to see if I can use the stamp as a reaction
timer.. I want to hook up a button to the prototype board and have
an led light up at a random time and then you have to press the
button asap. and then every other time you try to beat the previous
time.. ifyou beat it either a sound will tone or a differant led
will light.
I an new to programing with this board and am unsure if this is even
possible. thank you very much.
Comments
We have bunch of information that will help you in your quest -- just
don't expect the answers to be available in a magic formula book
somewhere.
Good resources:
-- the manual and help file have demos
-- What's a Microntroller? text -- especially if you're new to embedded
programming
-- StampWorks book
-- Nuts & Volts articles (over 100 available as PDFs)
Spend a bit of time perusing the Parallax web site ... it's full of
helpful treasures.
-- Jon Williams
-- Applications Engineer, Parallax
-- Dallas Office
Original Message
From: delta8tt8 [noparse]/noparse]mailto:[url=http://forums.parallaxinc.com/group/basicstamps/post?postID=cki_4CpgdnQ07Bul9ZHZBVOyJ1otcEn1LDp4C8zOoSRrgRw5wJ58JmN1Ti0oLtu0g83TjaBiEhGlzQ]delta8tt8@y...[/url
Sent: Friday, April 16, 2004 11:45 AM
To: basicstamps@yahoogroups.com
Subject: [noparse][[/noparse]basicstamps] New to group. trying to make two programs
Hi, I am trying mo make up two differant programs for my stamp. the
first thing that I am trying to atempt is Asynchronus serial
communitcation between two basic stamp boards. I found some
information that I will need 4 wires between the two stamps but I am
having trouble finding the information to code this. I want to send
the message ping , pong between the two boards..
my second project is to see if I can use the stamp as a reaction
timer.. I want to hook up a button to the prototype board and have
an led light up at a random time and then you have to press the
button asap. and then every other time you try to beat the previous
time.. ifyou beat it either a sound will tone or a differant led
will light.
I an new to programing with this board and am unsure if this is even
possible. thank you very much.
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.
Yahoo! Groups Links
This message has been scanned by WebShield. Please report SPAM to
abuse@p....
Be aware that the BS2 is a single-tasking beast
without interrupt support. This means you'll
need to do some state diagrams to detail who
is listening to whom, and when they are doing it.
The LED application is also straight forward.
Light the LED, then sit in a tight loop
waiting for the button signal, incrementing
a counter as you do so. Use the count as
an indication of the reaction time.
--- In basicstamps@yahoogroups.com, "delta8tt8" <delta8tt8@y...>
wrote:
> Hi, I am trying mo make up two differant programs for my stamp. the
> first thing that I am trying to atempt is Asynchronus serial
> communitcation between two basic stamp boards. I found some
> information that I will need 4 wires between the two stamps but I
am
> having trouble finding the information to code this. I want to send
> the message ping , pong between the two boards..
>
>
> my second project is to see if I can use the stamp as a reaction
> timer.. I want to hook up a button to the prototype board and have
> an led light up at a random time and then you have to press the
> button asap. and then every other time you try to beat the previous
> time.. ifyou beat it either a sound will tone or a differant led
> will light.
>
> I an new to programing with this board and am unsure if this is
even
> possible. thank you very much.