mirror of
https://github.com/binary-kitchen/doorlockd
synced 2024-10-31 22:47:05 +01:00
Inversed logic of Doorlight
Signed-off-by: Ralf Ramsauer <ralf@ramses-pyramidenbau.de>
This commit is contained in:
parent
026d2bdd10
commit
5f7fdd85ed
@ -14,8 +14,8 @@
|
|||||||
#define RED_ON (PORTB &= ~(1<<PB0))
|
#define RED_ON (PORTB &= ~(1<<PB0))
|
||||||
#define RED_OFF (PORTB |= (1<<PB0))
|
#define RED_OFF (PORTB |= (1<<PB0))
|
||||||
|
|
||||||
#define DOORLIGHT_ON (PORTD &= ~(1<<PD6))
|
#define DOORLIGHT_ON (PORTD |= (1<<PD6))
|
||||||
#define DOORLIGHT_OFF (PORTD |= (1<<PD6))
|
#define DOORLIGHT_OFF (PORTD &= ~(1<<PD6))
|
||||||
|
|
||||||
#define OPEN_BOLZEN (PORTD &= ~(1<<PD4))
|
#define OPEN_BOLZEN (PORTD &= ~(1<<PD4))
|
||||||
#define CLOSE_BOLZEN (PORTD |= (1<<PD4))
|
#define CLOSE_BOLZEN (PORTD |= (1<<PD4))
|
||||||
|
Loading…
Reference in New Issue
Block a user