Switch Archives - electroSome https://electrosome.com/topic-tag/switch/ You Inspire.....We Create..... Sun, 02 Apr 2017 15:23:43 +0000 en-US hourly 1 https://wordpress.org/?v=6.1.1 PIC18F26K22 Switch and LED Control https://electrosome.com/topic/pic18f26k22-switch-led/ Thu, 23 Feb 2017 13:27:36 +0000 https://electrosome.com/topic/pic18f26k22/ Hi, I am new to XC8 compiler and I need help. I want to compile a program to switch on 4 LED’s with different switches. I want to use PORTB for the switches and PORTC for the LED’s.

The post PIC18F26K22 Switch and LED Control appeared first on electroSome.

]]>
HOW DO I USE A PUSH BUTTON TO TURN ON AND OFF A RELAY CONNECTED TO PIC16F877A https://electrosome.com/topic/using-push-button-to-turn-on-and-off-a-relay-pic16f877a/ Tue, 05 Jul 2016 12:02:20 +0000 https://electrosome.com/topic/how-do-i-use-a-push-button-to-turn-on-and-off-a-relay-connected-to-pic16f877a/ I have been having troubles doing the above topic and i will love if you guys can help me out. I started programming few weeks back. I want to design a switch in which when the push button is pressed, my fan will ON, and when i need to turn it of, i press the […]

The post HOW DO I USE A PUSH BUTTON TO TURN ON AND OFF A RELAY CONNECTED TO PIC16F877A appeared first on electroSome.

]]>
PIC16F877A PUSH BUTTON https://electrosome.com/topic/pic16f877a-push-button/ Tue, 27 Jan 2015 09:47:03 +0000 https://electrosome.com/topic/pic16f877a-push-button/ hi am working on pic16f877a , have interfaced pushbutton . If the button is pressed once value will increment by 1 . But, if I press down and hold for long time value should increment fastely . Below is the code for button and am using XC8 complier. void main() { int oldstate; oldstate = […]

The post PIC16F877A PUSH BUTTON appeared first on electroSome.

]]>