Thanks for the reply. So I feel better about the interrupts. Serout, ok.
Code:
asm
__config _CONFIG1,_FOSC_INTOSC & _CLKOUTEN_OFF & _MCLRE_ON & _BOREN_OFF & _WDTE_OFF & _FCMEN_OFF & _CP_OFF & _CPD_OFF & _IESO_OFF
__config _CONFIG2, _WRT_OFF & _PLLEN_OFF & _STVREN_ON & _BORV_LO
endasm
define osc 8
OSCCON=%01110000 ;1110=8Mhz
ANSELA=0
ANSELB=0
ADCON0=0
PortA=0
PortB=0
PortC=0
TrisA=0
TrisB=0
TrisC=0
Start:
toggle LatA.1
pause 100
toggle LatA.1
serout2 USB_Tx,188, [" Hello USB World",13,10] 'working 188 at 9600baud on com15 @8Mhz
pause 3000
goto Start
At mode 84 I'm getting 19200baud. Beats me what is going on. Of course if its working fine, not a big deal.
Wayne
Bookmarks