mirror of
https://github.com/binary-kitchen/doorlockd
synced 2024-12-22 18:34:25 +01:00
Inversed logic of Doorlight
Signed-off-by: Ralf Ramsauer <ralf@ramses-pyramidenbau.de>
This commit is contained in:
parent
392763f720
commit
bf4f74bfea
@ -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