push-button with PIC16F877A

Please check the frequently asked questions before posting to the forum.
Post Reply
Author
Message
Fse
Posts: 59
Joined: 02 Aug 2012 02:01

push-button with PIC16F877A

#1 Post by Fse » 19 Aug 2012 06:13

Hello again.

I need other help. I need to set my PIC16F877A as follows: I want to put two push-buttom on inputs RA0 and RA1 RA0 league where all the leds PORTB and RA1 off all the leds PORTB. Can anyone help me?

hexreader
Posts: 1785
Joined: 27 Jun 2010 12:07
Location: England

Re: push-button with PIC16F877A

#2 Post by hexreader » 19 Aug 2012 08:31

The same download that I recommended in your other post might help:

http://www.mikroe.com/eng/products/view ... nt-system/

I would suggest getting the code to work as it is, then modify it to suit your purpose.

The mikroE help files will help you to understand how to use the button library.
Start every day with a smile...... (get it over with) :)

Fse
Posts: 59
Joined: 02 Aug 2012 02:01

Re: push-button with PIC16F877A

#3 Post by Fse » 20 Aug 2012 01:55

Anybory have a suggestion?

User avatar
filip
mikroElektronika team
Posts: 11874
Joined: 25 Jan 2008 09:56

Re: push-button with PIC16F877A

#4 Post by filip » 20 Aug 2012 09:46

Hi,

You can use the Button example provided in the Examples folder of the compiler as well.

Regards,
Filip.

Post Reply

Return to “mikroPascal FAQ”