As I've mentioned before, I'm still a big newbie. How I have this set up is:
9v 210mA wall wart going into a 7805, out putting a good 5.08v on average.
Two .022uF polyster-film caps and a 20Mhz crystal, as arranged in the PIC16F87X datasheet example. The PIC is a 16F876A.
Now, I wrote a program onto it that should just set TRISA to 0 and PORTA to 101010b, and then I expect to be able to test it by using my multimeter on the RA0, RA1, etc. pins and finding a high voltage (5v).
However, when this is all up and running, I check the pins and they're wildly bouncing around from .3v to 5v, just up and down. What could the problem be? I've double and triple checked all my connections (powers, oscillator setup) but they're all right, and the program I made works in the PIC Simulator. Any ideas?