Multitasking with the stamp
Florez
Posts: 4
Is there anyway to increase the multitasking capability of the stamp.· I am trying to control two servos, and read temperature at the same time.· However, doing these two tasks at the same time is quite difficult with the stamp.
Comments
Or, get a serial servo controller to drive the servos when the Stamp is busy elsewhere. Also from Parallax.
-Martin
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Martin Hebel
Southern Illinois University Carbondale - Electronic Systems Technologies
Personal Links with plenty of BASIC Stamp info
StampPlot - Graphical Data Acquisition and Control
Controlling two servos and measuring temperature should be really easy. What kind of temperature sensor are you using?
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Chris Savage
Parallax Tech Support
csavage@parallax.com
Why not post your code, and as mentioned, your temperature sensor name/specs and we can look it over and give some recommendations where you can make some speed increases. The term multasking isn't really appropriate here since it will be one program that does all you need instead of several programs trying to run concurrently.
-Martin
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Martin Hebel
Southern Illinois University Carbondale - Electronic Systems Technologies
Personal Links with plenty of BASIC Stamp info
StampPlot - Graphical Data Acquisition and Control
http://www.bluebelldesign.com/
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Never give up when things go wrong.
See http://www.rhombus-tek.com/co-processors.html
He has programmed an 8-pin DIP to be a 'tick' generator, as well as a serial recieve buffer. And he has some nice multi-tasking state-machine design code.