Test it, Test it, Test it!
I wrote it off the top of my head, in five minutes at quarter to two in the morning at the end of a long day, so make sure it works, it makes sense and more importantly that you understand it before 'moving on'.
Test it, Test it, Test it!
I wrote it off the top of my head, in five minutes at quarter to two in the morning at the end of a long day, so make sure it works, it makes sense and more importantly that you understand it before 'moving on'.
I will test it today and reply back. I read it over several times last night so as to understand all the steps and what they do.
As I test this one section alone, I will understand it even more.
Thanks
It works !
Melanie, I only had to make one change to get it to work...
While PulseInput=1:Wend
CounterA=0
I moved Wend to "after" CounterA=0...
While PulseInput=1
CounterA=0
Wend
Before I did that, LED would High anytime ButtonInput went Low.Now it only goes High during the "Time Window".
Works great and now I'll tweak it to suit my application and continue.
Thanks!!!
Bookmarks