Continue to Site

Welcome to our site!

Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

  • Welcome to our site! Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

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

:confused:
 
Status
Not open for further replies.

Latest threads

New Articles From Microcontroller Tips

Back
Top