Shop OBEX P1 Docs P2 Docs Learn Events
AW: [basicstamps] pulse in/windspeed meter — Parallax Forums

AW: [basicstamps] pulse in/windspeed meter

ArchiverArchiver Posts: 46,084
edited 2001-11-01 08:41 in General Discussion
Hi there,

for applications like this I prefer the COUNT command. If you dont't have to
measure in very small intervals, which I guess is not so when you are
measuring wind, the COUNT results are much more reliable then the PULSIN
ones because you do not only measure one incident.

Try:

EXAMPLE:

count 0,100,sample 'count the incoming pulses on pin 0 for 100ms
debug? sample
goto example 'once again


Let me know what you find out. Have a nice day, Uli


Urspr
Sign In or Register to comment.