madmax55
Newbie level 3
serin+picbasic
HI every one
iv got a problem with my codes,but only for pic16f877.!! Same codes work fine in 16f84a. I 'dont undestand WHY 'SERIN' command doesn't work with 877. i bought differnt 877 , 'SEROUT' command works fine, but 'SERIN' not!
where do i make wrong? PLEASE HELP ME!
these are the codes.
----------------------------------------------
GRS var byte
SerGRS var portE.0
SerCKS var portE.1
Frek con 6
serout serCKS,frek,[13,"MEDIA AND COMMUNICATIONS.!",13,10]
loop:
serin serGRS,frek,GRS
serout serCKS,frek,[13,GRS,10]
goto loop
HI every one
iv got a problem with my codes,but only for pic16f877.!! Same codes work fine in 16f84a. I 'dont undestand WHY 'SERIN' command doesn't work with 877. i bought differnt 877 , 'SEROUT' command works fine, but 'SERIN' not!
where do i make wrong? PLEASE HELP ME!
these are the codes.
----------------------------------------------
GRS var byte
SerGRS var portE.0
SerCKS var portE.1
Frek con 6
serout serCKS,frek,[13,"MEDIA AND COMMUNICATIONS.!",13,10]
loop:
serin serGRS,frek,GRS
serout serCKS,frek,[13,GRS,10]
goto loop