Comments on: Using Push Button Switch with PIC Microcontroller https://electrosome.com/switch-pic-microcontroller-hi-tech-c/ You Inspire.....We Create..... Sat, 25 Apr 2020 10:15:10 +0000 hourly 1 https://wordpress.org/?v=6.1.1 By: sony https://electrosome.com/switch-pic-microcontroller-hi-tech-c/#comments/9624 Sat, 25 Apr 2020 10:15:10 +0000 https://electrosome.com/?p=6918#comment-9624 yes, it is working but i am giving the connections RB0 is connected led to ground & RD0 is connect to the directly pull up to VDD & gnd
thank you sir

]]>
By: muzhaffar https://electrosome.com/switch-pic-microcontroller-hi-tech-c/#comments/6828 Mon, 24 Jul 2017 07:01:00 +0000 https://electrosome.com/?p=6918#comment-6828 Greetings, sir. Before I ask, I would like to thank you for all the tutorials you’ve created and posted in this website.

I have a few question to ask regarding to my circuit in proteus. I’ve constructed the circuit you gave in the picture above. I also built the program using the hitech C compiler using Mplab software. And then, when I try to run the simulation in the proteus using the program i built, it didnt even say error or something like that, instead the led in the circuit itself wont light up. I tried to reinstall all my programming software (mplab, proteus, hitech c). it doesnt work. What should I do. This is really stressing me out. Your tutorials are the only source I have to learn about embedded programming.

Thank you.

]]>
By: Ligo George https://electrosome.com/switch-pic-microcontroller-hi-tech-c/#comments/6466 Sun, 27 Nov 2016 07:11:00 +0000 https://electrosome.com/?p=6918#comment-6466 In reply to vikram.

Dear Vikram,
Kindly use our forums ( https://electrosome.com/forums/ ) for free technical support. Ping me on my email [email protected] if you need premium support.

]]>
By: vikram https://electrosome.com/switch-pic-microcontroller-hi-tech-c/#comments/6385 Fri, 23 Sep 2016 12:26:00 +0000 https://electrosome.com/?p=6918#comment-6385 hello sir i am using push button and LCD , so my task is how to display on off action of push button on ‘LCD when i press every time
means for 1 st press it should display on and second press it should display off , cycle repeats
plz tell me how to write c code for this my mail ID [email protected] Mob No 9028614218

]]>
By: Ligo George https://electrosome.com/switch-pic-microcontroller-hi-tech-c/#comments/6255 Sat, 27 Aug 2016 07:18:00 +0000 https://electrosome.com/?p=6918#comment-6255 Above example is 100% working ? Make sure that your oscillator frequency is 8MHz and Pull up resistor for the switch is there.

]]>
By: Ligo George https://electrosome.com/switch-pic-microcontroller-hi-tech-c/#comments/5599 Sat, 21 Nov 2015 09:07:00 +0000 https://electrosome.com/?p=6918#comment-5599 In reply to edwin.

You can you MPLAB IDE for that. No need of any compilers like Hi-Tech C or XC8.

]]>
By: Ligo George https://electrosome.com/switch-pic-microcontroller-hi-tech-c/#comments/5580 Sat, 21 Nov 2015 08:37:00 +0000 https://electrosome.com/?p=6918#comment-5580 In reply to adityaukey.

It is very simple. Declare a char variable and increment it during each key press. Write that character to PORTD.
PORTD = a;

]]>
By: edwin https://electrosome.com/switch-pic-microcontroller-hi-tech-c/#comments/5548 Sat, 21 Nov 2015 02:56:00 +0000 https://electrosome.com/?p=6918#comment-5548 In reply to Ligo George.

hello sir george,i have two questions,i’m newbie in microntrollers, my first question is,if i have asm files what software will i use i will convert to HEX FILES?
NO.2,If i have HEX files coul i convert it to ASM files?

]]>
By: adityaukey https://electrosome.com/switch-pic-microcontroller-hi-tech-c/#comments/5524 Tue, 03 Nov 2015 16:35:00 +0000 https://electrosome.com/?p=6918#comment-5524 this quetion is really ppissing me off..some help pls admin?

]]>
By: fayaz khan https://electrosome.com/switch-pic-microcontroller-hi-tech-c/#comments/5283 Wed, 26 Aug 2015 15:45:00 +0000 https://electrosome.com/?p=6918#comment-5283 by using 2 push buttons one for incrementing and other for decrementing firing angle of the triac (say in 9 steps one step 10 degrees)…can anybody please help me with code
THANK U

]]>