E
Emil Johnsen
- Jan 1, 1970
- 0
I have made a board with a PIC16F628:
Pin 5: Gnd
Pin 14: +5V
Capacitor between pin 5 and 14.
LEDs connected to the pins of port B, trough a resistor to gnd.
I have tried several different programs to turn on the outputs, both on port
b and port a (just measuring the pins on a with a voltmeter.)
In all cases nothing happens. All the outputs stay at 0V.
I have tried with and without a crystal oscillator connected.
Is there some setting I need to get right to make the PIC use the internal
oscillator or the crystal?
Is there something I need to do to 'turn on' the PIC other than connecting
power?
What am I doing wrong here?
Pin 5: Gnd
Pin 14: +5V
Capacitor between pin 5 and 14.
LEDs connected to the pins of port B, trough a resistor to gnd.
I have tried several different programs to turn on the outputs, both on port
b and port a (just measuring the pins on a with a voltmeter.)
In all cases nothing happens. All the outputs stay at 0V.
I have tried with and without a crystal oscillator connected.
Is there some setting I need to get right to make the PIC use the internal
oscillator or the crystal?
Is there something I need to do to 'turn on' the PIC other than connecting
power?
What am I doing wrong here?