jbmartin87
New Member
Hi, guys. I'm an electronic engineering technology student in my final year. It was reccomended to me to use a PIC16F873A (which I now have) for my final project. I need a little help to get started. I've been reading many sites for the past few days and still don't know where to start.
I have some experience with both assembly and c languages. I am currenly working with mikroC and mplab ide. Would prefer to use C.
What I am trying to accomplish: read in 3 digital values from Port C (RC0, RC1, RC2) (port c because of its ST property) and based on some IF statements output a digital value on Port A (RA0).
Also: Can I assign the ports to variables to make working with my IF statements easier?
All help is greatly appreciated! If you need me to clarify anything just ask. Thanks in advance.
I have some experience with both assembly and c languages. I am currenly working with mikroC and mplab ide. Would prefer to use C.
What I am trying to accomplish: read in 3 digital values from Port C (RC0, RC1, RC2) (port c because of its ST property) and based on some IF statements output a digital value on Port A (RA0).
Also: Can I assign the ports to variables to make working with my IF statements easier?
All help is greatly appreciated! If you need me to clarify anything just ask. Thanks in advance.