Closed micBona closed 3 years ago
Hi @micBona , It depends on a schematic, in my case '1' on the controller output pin opens the transistor and sets the line to the low level. That is why levels are inversed in the code.
Thank you for your prompt reply and for the information. Now it is clear. I'll close the issue.
Hi all, I'm trying to write an openthem controller for ESP32 without arduino libraries and in C (no CPP), and this sketch is really useful for my goal. Reading a code, there is one thing that I cannot understand (99% for a lack of my knowledge). When you want to send a bit (1 or 0) , the manchester encoding method is used: