SW21-EX17-Freq_Measure-Adv.BS2 Using on a remote control
sam_sam_sam
Posts: 2,286
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··that you may have and all of your time finding them
·
·
·
·
Sam
Post Edited (sam_sam_sam) : 12/21/2009 3:00:32 AM GMT
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··that you may have and all of your time finding them
·
·
·
·
Sam
Post Edited (sam_sam_sam) : 12/21/2009 3:00:32 AM GMT