BS2 Timing question
lfreeze
Posts: 174
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
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
Dave
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Dave Andreae
Tech Support
dandreae@parallax.com
Http://www.parallax.com
·
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
·1+1=10
Post Edited (Paul Baker) : 3/30/2006 9:18:43 PM GMT
a scope. Any suggestions for minimum scope requirements? I don't want to buy
a cadillac when a ford will do...
Larry
I really recommend using a decent scope when getting serious in electronics - its definitely
worth the extra bucks. I use the Tektronix TDS1000.
decent scope on a low budget:
www.tek.com/products/oscilloscopes/tds1000_tds2000/?wt=550&title=Tektronix%3A%20Products%20%3E%20Oscilloscopes%20Home&label=http%3A//www.tek.com/products/oscilloscopes/tds1000_tds2000/&link=http%3A//www.tek.com/products/oscilloscopes/tds1000_tds2000/
most inexpensive solution:
www.parallax.com/detail.asp?product_id=28119
makes use of your computer's power:
www.picotech.com/
Regards
Adrian
Larry
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
6+6=10 (Long live the duodecimal system!)