Shop OBEX P1 Docs P2 Docs Learn Events
HELP with code... — Parallax Forums

HELP with code...

ibromibrom Posts: 2
edited 2005-04-22 23:15 in BASIC Stamp
i have to do this stamp board for class and i have no idea how to code...

i am using the timer to send a signal to my relay. i connected it through P1. also have it connected to an LED so i know when the signal is being sent..
the thing is..

i have to use a push button. i want that push button, when it is pushed down, to turn on the LED and send a signal to the RELAY and turn off the timer. and when i let go off it i want it to go back to the timer...

anyone please.

i'd greatly appreciate it.
thanks

Comments

  • Chris SavageChris Savage Parallax Engineering Posts: 14,406
    edited 2005-04-22 23:08
    ·· The best advice I can give if you don't know how to code is to read the "What's A Microcontroller?" text, a free download (PDF format) from our website.· It will help you to understand how to program and interface to the BASIC Stamp Microcontroller.· Without knowing this information, any help given to you isn't going to do much good, since you probably won't be able to understand it, or make necessary changes to it.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Chris Savage
    Parallax Tech Support
    csavage@parallax.com
  • ibromibrom Posts: 2
    edited 2005-04-22 23:14
    i set it up right, just when i hit the button, i get the required voltage out, it's just tha my timer doesn't reset..
  • Chris SavageChris Savage Parallax Engineering Posts: 14,406
    edited 2005-04-22 23:15
    ·· Perhaps you should post you code?· (Attach it)

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Chris Savage
    Parallax Tech Support
    csavage@parallax.com
Sign In or Register to comment.