Russian,
Do you have a pullup resistor on MCLR ?
And hey, this is a PICBASIC Forum !
Russian,
Do you have a pullup resistor on MCLR ?
And hey, this is a PICBASIC Forum !
regards
Ralph
_______________________________________________
There are only 10 types of people:
Those who understand binary, and those who don't ...
_______________________________________________
Did you configure your 18f458 correctly? Especially LVP_OFF! This was the mistake, i made.
Here is my code, check for the LCDPUTCHAR routine.
I'm sorry, I know that this is a PIC Basic forum thats why I hadn't posted my code In the first thread. Yes, I have a pullup on MCLR, and LVP is off. Here I have a picture of what my screen shows when my program tries to write "Hello world!!!"
May-be your clock speed is too high? PLL ON perhaps?
Try simulating your code in MPLAB. If this works OK, it's something in hardware. If not, you'll find the bug quickly.
I was just looking at your picture an couldn't help but notice the leads coming for the crystal. Shouldn't there be a empty space in between the pins. It looks like the pins are spaced at 0.100". It might be just the picture but I think the crystal is actually 0.200" pin spacing.
My 2 cents... the crystal is really to far of the PIC, and try to remove both capacitor... breadboard capacitance
Steve
It's not a bug, it's a random feature.
There's no problem, only learning opportunities.
Bookmarks