Hi Skimask,

I changed my program into this:

'
' DEFINITIONS
Include "modedefs.bas"
CMCON=%00000111
DEFINE OSC 4
DEFINE DEBUGIN_REG PORTB
DEFINE DEBUGIN_BIT 1
DEFINE DEBUGIN_MODE 0 '1 = Inverted, 0 = true
DEFINE DEBUGIN_BAUD 2400

Cnt VAR Word ' Cnt is a word variable
CMCON = 7 ' RA0-RA3 are digital I/O
TRISA = 0 ' PORT A is output
TRISB = %11111101 ' RB1 is Input others output
cnt = 0

main:


debugin [cnt]


LCDOUT $FE,2 ' Home cursor
LCDOUT "CNT=", DEC3 Cnt

goto main



goto main


END ' End of program

Now it works but only with this Baud rate of 2400.

BUT I WANT a Baud rate of ONE ZILLION or so.

seems I´m still at the beginning.

Or is it possible to run the data transfer in the background using some asm code ?

Greetings from Mugel