Hi Damian Marek,
Have a nice day..
I hope you reply me faster.. In the attached file, when bit 1 is transmitted light is sent to encoder while bit 0 is encoded by the complementary of the encoder. How to implement the red colour part of this system ? any idea about how to make switching for the data bits ?, thank you.