Sometimes, the breadboard could cause you some bugs like that. But before doing some assumption, is a simple Blink program work? Some crystal also need a resistor in parallel to work properly.. something 'round 1Meg
If not, remove the capacitor around your Crystal, ALSO be sure your supply line is clean, ... plah plah, capacitor close to PIC and the usual.
DOH! i already saw that code here ... i guess it's one of mine.. there's a little error in the DEFINE HSER_CLOERR... MUST BE DEFINE HSER_CLROERR
Do a simple loop with HSEROUT and post your results.
Last edited by mister_e; - 22nd May 2006 at 17:20.
Steve
It's not a bug, it's a random feature.
There's no problem, only learning opportunities.
Bookmarks