Ah I see. I don't know much hehe I tried to put some code together just to test but it seems not to work. Could this be close?
Code:Include "modedefs.bas" OSCCON = %01100000 ' Internal 4MHz osc ADCON0 = 0 CMCON0 = 7 ANSEL = 0 WPU = 0 GPIO = %00000000 rcx var GPIO.4 'input pin tcx var GPIO.2 'output pin stat VAR byte Main: serin rcx,N2400,STAT pause 100 SEROUT tcx,n2400,[stat] GOTO Main END
Bookmarks