Shop OBEX P1 Docs P2 Docs Learn Events
Newbie coder, Please help! — Parallax Forums

Newbie coder, Please help!

DaadDaad Posts: 1
edited 2006-07-08 09:20 in BASIC Stamp
Hello Basic world,

·I have a Basic Stamp 1 mounted in REV E board (circa 1994).· I used this in a project with my son years ago.· He is the coder, I·am the hardware guy.· I am trying to build a circuit where I need to pull one of the pins (pin 1) to ground for 1ms every 3ms and repeat this seven times and then pause for 5sec and loop it over and over.
·I have pulled out all of our documentation and have loaded some of the sample code so I am able to load the eprom okay.· I have tryed to modify the code for the simple LED blink but am not getting what I want.· I have tried pulsout & toggle & pause commands but cannot get the correct sequence.· I know it is very simple code and the Stamp should be able, but I am not.· Is there anyone out there that will help a newbie coder?

Daad

Post Edited (Daad) : 7/7/2006 10:45:42 PM GMT

Comments

  • Kevin WoodKevin Wood Posts: 1,266
    edited 2006-07-08 09:20
    I don't have a BS1 to test with, so take this as modifiable pseudocode. You'll have to turn it into a workable program.

    Main:

    FOR counter = 1 TO 7
    LOW 1
    PAUSE 1
    HIGH 1
    PAUSE 3
    NEXT

    PAUSE 5000

    GOTO Main
Sign In or Register to comment.