Where's the problem!?!?.......

Status
Not open for further replies.

livewire_541

New Member
Hi all,

Lately I've been trying to send a bit stream (a byte actually) by dividing it into single bits, right shifting the byte and transmitting it only on one pin of the microcontroller(RB0), of course the bit duration/period is a 'waitms' or 'waitus'
statement.

On the other hand, the reciever (Nothing's wireless by the way, it's all wired)
left shifts the bits acquired (at RB0 of the receiver) and forms a variable (byte data type).

Problem is, even when I added sync pulses the result was the same: a completely different byte is received! not even the reverse of the original!!

so what's the big idea?

PS: I've attached the programs down below-open them with notepad

 
the programs...

sorry 'bout that!
 

Attachments

  • Transmit test_.txt
    390 bytes · Views: 186
  • Receive test_.txt
    441 bytes · Views: 165
Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…