ok here the code:
Include "modedefs.bas"
DEFINE OSC 20 '20Mhz Oscillator was used
ADCON0 = 0 'AD MODULE OFF & CONSUMES NO CURRENT
ADCON1=7
CMCON = 7 'COMPARATORS OFF
TRISB = %00000000 'PORTB OUTPUTS
START:
serout portb.2,n2400,[$AA]
Pause 100
GOTO START
When I change the serout to serout2 , its worst. I am not getting a lot out the output pin, I also tried pin9 for output.
I have a outpu 20Mhz crstal on port 15 and 16
MCLR with a resistor to Vdd
Vdd on 14
ground on 5
wire from 8 to input of TX module
ken




Bookmarks