eTechs
Newbie level 3
- Joined
- Feb 22, 2015
- Messages
- 3
- Helped
- 0
- Reputation
- 0
- Reaction score
- 0
- Trophy points
- 1
- Activity points
- 23
Dear All,
I am new to the PIC micro-controllers. I am using PIC12F675 and trying to toggle the GPIO5. I am using mikroC pro for PIC compiler and proteus7.4. I have tested my code on different version of mikroC and Proteus. I have tried with configuration register from 0x3FF0 to 0x3FF7. (enabling and disabling the oscillator in different modes) and still found the GPIO4 and GPIO5 in high impedance state. I used internal and external pull ups as well.
I need at least one adc channel and four IOs as output in 12F675 for my project.
Kindly give a hint/ code etc. to solve this problem.
Thanks.
eTechs
I am new to the PIC micro-controllers. I am using PIC12F675 and trying to toggle the GPIO5. I am using mikroC pro for PIC compiler and proteus7.4. I have tested my code on different version of mikroC and Proteus. I have tried with configuration register from 0x3FF0 to 0x3FF7. (enabling and disabling the oscillator in different modes) and still found the GPIO4 and GPIO5 in high impedance state. I used internal and external pull ups as well.
I need at least one adc channel and four IOs as output in 12F675 for my project.
Kindly give a hint/ code etc. to solve this problem.
Thanks.
eTechs