Dear all members
I have two modules : one is the transmitter and another is receiver. I am programming for it and I have some problems with my code. My problems is : when I use transmitter to transfer the data. If I transfer bit '1', the receiver receives right bit. However; when I transfer bit '0', the receiver receives not all right. Because when I transfer bit '0', the transmitter does not transfer anything and at that time the receiver is influenced by noise, thus; the receiver receives random data : 0 or 1.
I do not know how to solve it. Can you give me some advices about it? How can I write the code for it?
I have two modules : one is the transmitter and another is receiver. I am programming for it and I have some problems with my code. My problems is : when I use transmitter to transfer the data. If I transfer bit '1', the receiver receives right bit. However; when I transfer bit '0', the receiver receives not all right. Because when I transfer bit '0', the transmitter does not transfer anything and at that time the receiver is influenced by noise, thus; the receiver receives random data : 0 or 1.
I do not know how to solve it. Can you give me some advices about it? How can I write the code for it?