Shop OBEX P1 Docs P2 Docs Learn Events
stamp programing — Parallax Forums

stamp programing

ArchiverArchiver Posts: 46,084
edited 2003-03-23 00:55 in General Discussion
I would like to use a stamp (bs2p) to control some led's. I need a
setup with three switches(momentary contact)and five leds. When
switch #1 is pressed, one led (#1)will light steady. When switch #2
is pressed, led #1 will go out and led #2 & #3 will flash (railroad
crossing style), and continue to flash until switch #1 is pressed.
At that time, led #2 & #3 will go out and #1 will be on. Switch #3
will control led's #4 & #5. Push switch #3 once and led's #4 & #5
flash (railroad crossing style), but have no affect on the other
led's associated with switch #1 & #2, and switches #1 & #2 have no
effect on switch #3 or its associated led's. Push switch #3 again
and led's #4 & #5 go out. Switch #3 only toggles led's #4 & #5 on
and off (flashing when on). At any time, led #1 & led's #4 & #5
could be on, or #2,3,4, & 5 could be on, or just #1, but never can #1
be on when Led #2 & #3 are on. If this is possible to produce,
please contact me. I really need assistance on this, and my time is
short. Charlie

Comments

  • ArchiverArchiver Posts: 46,084
    edited 2003-03-22 23:16
    What you want to do is relatively simple.

    Download the Stamp manual from the Parallax websight. The first few program
    examples show you how to control an LED. From that information, you should be
    able to take it from there.


    [noparse][[/noparse]Non-text portions of this message have been removed]
  • ArchiverArchiver Posts: 46,084
    edited 2003-03-22 23:23
    Typically this group is VERY GOOD at giving sound advice. The group typically
    is not eager to give you a completely written debugged program when it
    appears the user has not done any preliminary work and is simply looking for
    "the answer" to a school project.


    [noparse][[/noparse]Non-text portions of this message have been removed]
  • ArchiverArchiver Posts: 46,084
    edited 2003-03-22 23:40
    If this is possible to produce,
    please contact me. I really need assistance on this, and my time is
    short. Charlie


    Yes it is possible and quite easy to do.


    [noparse][[/noparse]Non-text portions of this message have been removed]
  • ArchiverArchiver Posts: 46,084
    edited 2003-03-23 00:03
    Must be getting towards the end of the semester -- all the robot /
    microprocessor groups I belong to are getting hit with similar requests.

    Original Message

    > Typically this group is VERY GOOD at giving sound advice. The group
    typically
    > is not eager to give you a completely written debugged program when it
    > appears the user has not done any preliminary work and is simply looking
    for
    > "the answer" to a school project.
  • ArchiverArchiver Posts: 46,084
    edited 2003-03-23 00:55
    In a message dated 3/22/2003 4:07:13 PM Pacific Standard Time,
    daweasel@s... writes:

    >
    > Must be getting towards the end of the semester -- all the robot /
    > microprocessor groups I belong to are getting hit with similar requests.
    >
    >
    Original Message
    >
    > >Typically this group is VERY GOOD at giving sound advice. The group
    > typically
    > >is not eager to give you a completely written debugged program when it
    > >appears the user has not done any preliminary work and is simply looking
    > for
    > >"the answer" to a school project.
    >

    How True LOL!!!!!!!!!!


    [noparse][[/noparse]Non-text portions of this message have been removed]
Sign In or Register to comment.