-
problem in serin2
Please i try to receive data from fsk ic ht9031 by 16f628a using serin2 command and display results on 7 segment ...my proplem is i dont receive any data exept when i use this command
serin2 porta.0,813,300,loop[wait($02,$0a),idstring\10]
Pecuse most nombers in my country are 10digits ...but another numbers are 9 digits and the main problem when i use
serin2 porta.0,813,300,loop[wait($80),idstreing\length]
I recieve rong data
-
Re: problem in serin2
Your PIC have a built-in USART... use it, it has load of of advantage.
you haven't posted other lines of code, so it could be anything... often really simple like adding
CMCON = 7
at the top of your code... it already happen once here... maybe twice...
-
Re: problem in serin2
thank you it is solved ......