Let's Make Robots!

Processing speed

Hi,

I just wonder if how frequency my program can run in the picaxe 8M chip?
You can see my program in the below.

++++++++++++++++++++++++++++++

++++
main:
       if pin1 = 1 or pin2 = 1 or pin3 = 1 then
               goto flsh1
       else
               low 4
               goto main
       end if
flsh1:
       high 4
       goto main
+++++++++++++++++++++++++++++++++++

This is very simple. Therefore I expect it can check those pin1-3 at
more than 10 kHz.
If you know how we can estimate how fast a program can run, please let me know.
Thank you in advance.

Best,
Tomi

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

I did that using an oscilloscope. Even the cheapest ones can be useful. Search "xoscope" is you're using Linux. "Winscope" is for Windows lusers.