Newbie coder, Please help!
Daad
Posts: 1
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
·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
Main:
FOR counter = 1 TO 7
LOW 1
PAUSE 1
HIGH 1
PAUSE 3
NEXT
PAUSE 5000
GOTO Main