Shop OBEX P1 Docs P2 Docs Learn Events
BS2 Timing question — Parallax Forums

BS2 Timing question

lfreezelfreeze Posts: 174
edited 2006-03-31 22:08 in BASIC Stamp
I have been working on project where timing of am incoming bit is critical.· I must sample a bit of data for 200ms and take action based on receipt of a hi....i am doing this with a simple "do while loop"

Do while recordcount <180
if in8=1 then recordmark.
pause 20
loop

My question is how long in milliseconds will the 'do while" portion take to
execute 180 times?· I have tried various ways to determine this but
have not been successful.

Thanks you for any responses

Larry

Comments

Sign In or Register to comment.