i use now 2 pic16f84 to connect them serially by using the command
serout and serin, but there is something i would to ask about it
in the transmitter the codes is
trisb=0
serout 1,2,[%11111111]
in the reciever
trisa = 1
trisb= 0
b var word
serin porta.1,2,b
portb = b
i got the 1's bits in the other side but when i increase number of bits
in the transmitter about 10 bits i note some shifts in bits,
then 8 bits blocks transmitted one time
so if i want to transmit more bits should i arrange them in 8 bit blocks
and transmit them as 8 bits at a time and in the other side i rearrange them again ???
Bookmarks