|
The Stamp runs considerably faster than 40 Hz. What you're thinking of is the fact that input data is sent to the Stamp at 20 Hz (I think it's 20 Hz; did I misplace my mind again?). If I remember correctly, the Stamp executes 1000 lines of code every second. It is possible to sit in a loop and execute it for a given period of time. However, you need to remember that if you miss 4 input packets (ie you don't poll for the input data), the Stamp controller will be reset by the master controller. So don't sit in the loop for more than .2 seconds.
Matt
|