brentonw2004
New Member
Hello everyone. I am currently being tormented by a PIC 18F452, and most any other chip I touch. I have been using a 16F628 for some time now and have had success with it, but then I needed some ADC inputs and tried to move to a 16F819, I got the inputs working on it, but then I realized that this chip doesn't have a USART for serial out for my LCD and communication with my computer. Would a 16F876 work for both? Ok, now to my actual problem. I moved to a 18f452 because had one that I from a friend because it is supposed to have both USART and ADC and it has a lot of space. I have tried to program it with the same tools I have programmed the others with, ICProg, Pic Basic Pro, and MicroCode Studio, and they all claim to be compatible and my program appears to load correctly. I wrote just a simple program to make sure that PIC is working:
loop:
HIGH PORTB.1
PAUSE 250
LOW PORTB.1
PAUSE 250
GOTO loop
Also I have wire it according to the diagram I have for it:
PIN 1 - +5V
PIN 11 - +5V
PIN 12 - GND
PIN 31 - GND
PIN 32 - +5V
PIN 33 - LED
With this setup I am unable to get anything to happen. Any advice would be greatly appreciated.
Thanks!
loop:
HIGH PORTB.1
PAUSE 250
LOW PORTB.1
PAUSE 250
GOTO loop
Also I have wire it according to the diagram I have for it:
PIN 1 - +5V
PIN 11 - +5V
PIN 12 - GND
PIN 31 - GND
PIN 32 - +5V
PIN 33 - LED
With this setup I am unable to get anything to happen. Any advice would be greatly appreciated.
Thanks!