Shop OBEX P1 Docs P2 Docs Learn Events
SW21-EX17-Freq_Measure-Adv.BS2 Using on a remote control — Parallax Forums

SW21-EX17-Freq_Measure-Adv.BS2 Using on a remote control

sam_sam_samsam_sam_sam Posts: 2,286
edited 2009-12-21 02:45 in General Discussion
Using on a remote control

How do I filter stray Freq when button is not·pushed what type of cap do I use for this·
When the button is pushed it is freq = 224 @ period > 4360· AND period < 4390·· THEN
It runs the routine every time the button is pushed

IF freq = 224 AND period > 4360· AND period < 4390·· THEN
·DEBUG CR, CR, CR, "PAUSE 500"
·PAUSE 500
·DEBUG CLS,
·"Period ....· ", CR,
·"Freq (Hz)..... "
· ENDIF

The remote control has· three wires one is + the second one - and third one is signal

Here is the code that I am using





·

▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
··Thanks for any·idea.gif·that you may have and all of your time finding them smile.gif

·
·
·
·
Sam

Post Edited (sam_sam_sam) : 12/21/2009 3:00:32 AM GMT
Sign In or Register to comment.