Libstock prefers package manager

Package Manager

We strongly encourage users to use Package manager for sharing their code on Libstock website, because it boosts your efficiency and leaves the end user with no room for error. [more info]

Project Request

Return
Jon Parkinson
Tubenut

posted on 2013/07/14 11:19:59 PM CEST

Motor Control

Alternating (ON/OFF) output from single switch input

I am looking for some code to control a single pushbutton input that will control an output. Upon first press and release of the pushbutton the output turns on, upon second press and release the output turns off. This output will control a relay.

I am using PIC18F87K22 with EasyPIC Pro V7.

Thanks
Jon

USER Comments

dany
Dany

posted on 2013/07/21 03:13:54 PM CEST

Hi Jon,

Perhaps this article can help you : http://www.rosseeld.be/DRO/PIC/Button_behaviour.htm

  • Rating:
0
No Abuse Reported

Do you want to report abuse comment ID: 778 in "Alternating (ON/OFF) output from single switch input" request.