I know, I'm posting alot of my noobish problems here, though I'm hoping not to be a scourge or anything. Here it goes:
5v from 7805, down from 13V wall wart. PIC16F876A. What I assume is a 4Mhz ceramic oscillator (Blue bulbous 3-pin thing I pulled from an Apple keyboard), the middle of it goes to GND, the sides into OSC1 and OSC2. +5v lead into Vdd, GND to Vss. This is exactly how it's wired! Now, when I boot it with a program as follows:
(In BoostC)
#include <system.h>
#pragma CLOCK_FREQ 4000000
void main(void)
{
trisa = 000000b;
porta = 111111b;
}
I program it with the following config: WatchDog Timer, Low Voltage Programming, Brown Out Reset Enable, XT oscillation.
Now, when I whip out my trusty multimeter and stick the positive lead onto pin RA0, and the commons lead onto Vss, it quickly switches from around 3V to .5V, and stays at .5V. So, any ideas? What am I stupidly doing wrong?