ericmar
Full Member level 5
Hi guys,
I'm a newbie in PIC and I just started to learn it. So I need some helps from u all. I hv succeeded in flashing LEDs on my Millennium Demo board and would like to build a counter now using 4 7-segments LEDs on the board. However, I'm not quite sure where to start this. I cant find anything helpful from the web after doing a search. BTW, I'm using Hi-tech PIC C compiler and PIC16F877 at the moment.
So could anyone please help me with this? Besides, I would like to find out how to define the inputs on PORTA, for example. How should I program my c code so that few bits on PORTA are defined as inputs while all others are defined as outputs? Can anyone show me this?
Thanks a lot!
Regards,
Eric Mar
I'm a newbie in PIC and I just started to learn it. So I need some helps from u all. I hv succeeded in flashing LEDs on my Millennium Demo board and would like to build a counter now using 4 7-segments LEDs on the board. However, I'm not quite sure where to start this. I cant find anything helpful from the web after doing a search. BTW, I'm using Hi-tech PIC C compiler and PIC16F877 at the moment.
So could anyone please help me with this? Besides, I would like to find out how to define the inputs on PORTA, for example. How should I program my c code so that few bits on PORTA are defined as inputs while all others are defined as outputs? Can anyone show me this?
Thanks a lot!
Regards,
Eric Mar