1
0
mirror of https://github.com/binary-kitchen/doorlockd synced 2024-11-15 19:49:12 +01:00

Inversed logic of Doorlight

Signed-off-by: Ralf Ramsauer <ralf@ramses-pyramidenbau.de>
This commit is contained in:
Ralf Ramsauer 2015-09-13 15:47:30 +00:00
parent 392763f720
commit bf4f74bfea

View File

@ -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))