Hi can any one help me I a`m stumped on the code for random servo movements. I would like it to pan left and right at random. I a`m using a basic stamp homework board.
Post the code that you don't understand and say more about what you're stumped about. Do you understand servo movement control? If not, have a look at chapter 4 of the "What's a Microcontroller?" tutorial which you should have. Do you understand how the RANDOM statement works? If not, read the chapter on it in the "Stamp Basic Syntax and Reference Manual" which you should also have. These are part of the help files of the Stamp Editor and can be downloaded from Parallax.
so now that is the thing I do not know how to use the random statement I get how the sevo moves but not how to have it put in random values.I am using the basic stamp, and the code is just the simple pules out code. thanks
Comments
Did you read the section about the Random statement like Mike suggested?