Help with subroutine using Basic Stamp Software..
Hello,
This is my first time using the basic stamp software and I need help creating subroutines for the description of the attached file.
Can anybody let me know how would I write subroutines for the attached file?
Thanks,
Pete
This is my first time using the basic stamp software and I need help creating subroutines for the description of the attached file.
Can anybody let me know how would I write subroutines for the attached file?
Thanks,
Pete
Comments
You've go the hard part done by having the flow chart.
Have you done any coding yet? Thats the best way to learn and the Stamp doesn't mind being re-programmed.
Take the 3 rectangular blocks just above "Lock Doors" and write the code to carry out that function. Do it for each block. Those chunks of code will essentially be your subroutines.
The rest of it will be in the main body with a few IF-THEN statements.
Show us what you can do and there will be lots of help for specific problems.
Cheers,
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Tom Sisk
http://www.siskconsult.com
·
The Basic Stamp Syntax and Reference Manual: www.parallax.com/tabid/440/Default.aspx
What's a Microcontroller?: www.parallax.com/tabid/535/Default.aspx
These will teach you how to program the Stamps and how to accomplish basic things like sensing a switch setting or turning an LED on and off.