Richard,
I loaded your code, I only had to change one thing...
Check4Button:
if btn=0 then 'had to change =0 to =1
And it works great ! I like the flashing LED while the gate is moving. I'll put it back in service and see how it goes, I expect it to be fine now.
You did a lot of work and helped me a lot and I've learned much from your work and I'll continue to refer to how you've done it for my future coding.
You're very much appreciated ! Thanks !
Sam




Bookmarks