Question: BS2 need PAUSE accurate to the microsecond?
rh3d
Posts: 14
Hey all,
The PAUSE function seems accurate to the millisecond.· Does any know if its possible to get this accurate to the micro second or is there a different function I should be using?
In looking at the·manual it would appear I may be out of luck...·
"the delays produced by PAUSE are as accurate as the ceramic-resonator time base.· When you use PAUSE in timing-critical applications, keep in mind the relatively low speed of the PBasic interpreter.· This is the time required for the basic stamp to read and interpret an instruction stored in the EEPROM."
Thoughts?·
Thanks
The PAUSE function seems accurate to the millisecond.· Does any know if its possible to get this accurate to the micro second or is there a different function I should be using?
In looking at the·manual it would appear I may be out of luck...·
"the delays produced by PAUSE are as accurate as the ceramic-resonator time base.· When you use PAUSE in timing-critical applications, keep in mind the relatively low speed of the PBasic interpreter.· This is the time required for the basic stamp to read and interpret an instruction stored in the EEPROM."
Thoughts?·
Thanks
Comments
There's a good discussion of Stamp execution times at www.emesystems.com. Click on the app-notes link at the bottom of the page.
-Phil