i am doing a LIFI kinda project in which a string is converted into binary array and is transmitted .
if the Boolean value is 1 led will be ON for 50ms else if 0 its OFF for 50ms.
the transmitter is working properly. In the receiver i kept a photo diode which is connected anologe pin A0
and im able to receive the same binary data but i dont know how to convert it back to string.
if i receive 10000000 it should display -a
10000001 -b and so on.(ASCII encoding)
can u please help
rx.ino (869 Bytes)