Please add code tags when posting code (the </> button in the editor) as there are smileys in the code.
Anyway based on what I can read: sensor is expected to connect to pin 8, and just acts like a regular switch, active LOW.
Please add code tags when posting code (the </> button in the editor) as there are smileys in the code.
Anyway based on what I can read: sensor is expected to connect to pin 8, and just acts like a regular switch, active LOW.