S
Silverfox
- Jan 1, 1970
- 0
Hello there all,
I am sort of new to the electronic world and wondered if any of you
could help.
I have a PIC16F84 and written a simple program to just turn on PIN RA0
which is attached to an LED.
Pin 4 (MCLR) is connected to a capacitor wich then goes to ground.
Pin 5 is to ground.
Pin 14 is to 5V.
Pin 17 and 18 are to an Oscillator of 4MHz.
Pin 19 is to and LED to ground.
My configuration bits are:
Oscillator : XT
Watchdog Timer : On
Power up timer : Off
Code Protect : Off
Please excuse me if any of my terminology is incorrect as I am still
learning.
I have tested the code in simulation mode and the STATUS, TRISA and
PORTA registers seem to be set correctly.
The LED doesn't come on? Should I post my code?
Could somebody point me in the right direction?
Thanx very much in advance
Richard
I am sort of new to the electronic world and wondered if any of you
could help.
I have a PIC16F84 and written a simple program to just turn on PIN RA0
which is attached to an LED.
Pin 4 (MCLR) is connected to a capacitor wich then goes to ground.
Pin 5 is to ground.
Pin 14 is to 5V.
Pin 17 and 18 are to an Oscillator of 4MHz.
Pin 19 is to and LED to ground.
My configuration bits are:
Oscillator : XT
Watchdog Timer : On
Power up timer : Off
Code Protect : Off
Please excuse me if any of my terminology is incorrect as I am still
learning.
I have tested the code in simulation mode and the STATUS, TRISA and
PORTA registers seem to be set correctly.
The LED doesn't come on? Should I post my code?
Could somebody point me in the right direction?
Thanx very much in advance
Richard