Shop OBEX P1 Docs P2 Docs Learn Events
how to measure longer time? — Parallax Forums

how to measure longer time?

asynchronous13asynchronous13 Posts: 2
edited 2006-07-28 16:38 in BASIC Stamp
I want to measure the time between events that are measured by a hall-effect sensor. Normally the signal is logic HI, with logic LO pulses. I want to measure the time from one logic LO to the next. Usually the time will be less than 300ms.

I looked at the PULSIN command, but for my project the measurement times need to be greater than 131ms (which is the maximum time measured by PULSIN on the BS2 that I have).

Is there a different way to measure time with the BS2?

Comments

  • $TAMP&ME$TAMP&ME Posts: 18
    edited 2006-07-28 16:38
    yes there is. Connect the wire from the output PIN to the other input pin (15). Then put the original program to this one.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    BS2 is here for the world

    and
    the world is here for the BS2
Sign In or Register to comment.