Hi to all, I change the codes and Port pin setup, at this time I used the SERIN and SEROUT...
I noticed that it is generating random numbers pls see the attach...anybody knows what's the reason?Code:include "modedefs.bas" B2 var byte pause 500 start: serin 0,T9600,B2 ''''''''''''''''''''''''''' PortB.0 as my recieve pin from bluetooth Tx Serout PORTC.6, T9600, [#B2,10,13] '''''''''''''''''''''''PortC.6 as Transmit pin to pc com1 IF B2 = 65 then If PortB.1 = 0 then High PortB.1 else Low PortB.1 Endif else ENdif goto start
Thanks in advance
mbox
Bookmarks