CuriousJames / DIYAC

Raspberry Pi Python code & PCB design project to control door access (access control) via a wiegand card and/or keypad reader, handles a doorbell too
6 stars 2 forks source link

Allow inverting of LED and beep #36

Open CuriousJames opened 4 years ago

CuriousJames commented 4 years ago

Some readers/keypads may want HIGH (5v) rather than LOW (0v) to activate the beep/LED.

This should be evaluated at init stage, NOT at an if statement stage when required (i.e. change the value written to the pin at init stage, and do this by variable)