Shop OBEX P1 Docs P2 Docs Learn Events
The count method — Parallax Forums

The count method

josh_ozjosh_oz Posts: 9
edited 2009-09-02 15:01 in General Discussion
Hello guys, I am having trouble with the count method from the CPU class. For example, when I send a 6Hz square wave signal to the javelin, the method returns a 0 or a 1 when the timeout is set for a second. I should be expecting a 6 because there are 6 rising edges in one second for a 6HZ signal. I am trying to build a tachometer, how can I solve this problem or is there other ways to build a tachometer using javelin?

Comments

Sign In or Register to comment.