Page 1 of 1

push-button with PIC16F877A

Posted: 19 Aug 2012 06:13
by Fse
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?

Re: push-button with PIC16F877A

Posted: 19 Aug 2012 08:31
by hexreader
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.

Re: push-button with PIC16F877A

Posted: 20 Aug 2012 01:55
by Fse
Anybory have a suggestion?

Re: push-button with PIC16F877A

Posted: 20 Aug 2012 09:46
by filip
Hi,

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

Regards,
Filip.