Darrel, point taken.
Here is how I've set the configs (18F4525):
DEFINE OSC 8
OSCCON = %01110010
CMCON = %00000111
ADCON0 = %00000000 'Turn off A/D
ADCON1 = %00001111 'Make All ports Digital IO
TRISA = %00000000 'PortA is all outputs
TRISB = %00000000 'PortB is all outputs
TRISC = %00000000 'PortC is all outputs
TRISD = %00000000 'PortD is all outputs
TRISE = %00000110 'PortE.0 is output, 1 and 2 are inputs
As I've said though it seems lots of experienced guys on this forum advise not to use asynch comms when relying on an internal clock that's why I made my last comment.
Any further observations would be appreciated though,
Thirsty
Bookmarks