Thanks for reply !
I use simple link PIC to PC (GPIO.5 connected to DB9 - pin 2).
I tried DEBUG command too ... with same results ...
Of course I added in my program :
My schematic is based on Mr.GioppY "serial voltmeter" (http://www.picbasic.co.uk/forum/showthread.php?t=7182) with modification for my purpose ...Code:DEFINE DEBUG_REG GPIO 'Set Debugin pin por DEFINE DEBUG_BIT 5 'Set Debug pin bit DEFINE DEBUG_BAUD 2400 'Set Debug baud rate DEFINE DEBUG_MODE 0 'Set Debug mode: 0=true,1=inverted
Mr.GioppY use, in his program :
but with VB program.Code:debug dec TmpW dig 4,dec TmpW dig 3,",",dec TmpW dig 2,Cr,Lf
First I tried "Debug DEC Advalue, 13, 10" , but I have same results in RealTerm.





Bookmarks