ankitvirdi4
Member level 4
- Joined
- Mar 13, 2012
- Messages
- 70
- Helped
- 4
- Reputation
- 8
- Reaction score
- 4
- Trophy points
- 1,288
- Location
- India
- Activity points
- 1,928
Guys I want to work with the RC clock in 16f676 for my project. In order to test it i wrote a simple code
Testing this in proteus it works even if nothing is connected to OSC1 that is where I am supposed to connect the RC network. How will I know that my controller is in EXTRC mode. I tried changing the config word in proteus still I am facing the same problem. Please help. View attachment test.rar This is the proteus file.
Code C - [expand] 1 2 3 4 5 6 7 8 9 10 11 void main() { TRISC=0x00; while(1) { PORTC=0xff; delay_ms(100); PORTC=0x00; delay_ms(100); } }
Testing this in proteus it works even if nothing is connected to OSC1 that is where I am supposed to connect the RC network. How will I know that my controller is in EXTRC mode. I tried changing the config word in proteus still I am facing the same problem. Please help. View attachment test.rar This is the proteus file.