Hello,
...okay, can you give a bit more context? How fast does it need to be,
Speed is very low, 1200 baud
My drawing is just a case. I want to learn the principles. Instead of sampling the input with a clock source, i can use interrupt to detect the input change.
My actual aim is to make a Manchester Encoder - Decoder in the end. Manchester encoding is just y(n)=x(n) XOR x(n-1). I found a solution made with the RMT here in this forum (
viewtopic.php?f=19&t=9234&hilit=manchester ) , Of course I can write a C task for this purpose as well but I am looking for alternative and simpler methods.
All solution suggestions are valuable to me; Instead of asking new questions you can suggest a solution based on how you understand it and how you think it would be better. Thanks.