EmlaLockSafe
HardwareConfiguration.h File Reference

Go to the source code of this file.

Macros

#define COIL_PIN   15
 GPIO the coil of the safe is connected to. More...
 
#define ENABLE_CONFIG_SERVER_PIN1   35
 GPIO of input pin of switch to enable config server. More...
 
#define ENABLE_CONFIG_SERVER_PIN2   14
 GPIO of output pin of switch to enable config server. More...
 
#define SAFE_COIL_LOCKED   LOW
 Value of the COIL_PIN if the coil should be locked. More...
 
#define SAFE_COIL_UNLOCKED   HIGH
 Value of the COIL_PIN if the coil should be unlocked. More...
 
#define ENCODER_PIN_CLK   27
 GPIO of the ky-040 clk pin. More...
 
#define ENCODER_PIN_DT   26
 GPIO of the ky-040 dt pin. More...
 
#define ENCODER_SWITCH   25
 GPIO of the ky-040 sw pin. More...
 
#define LCD_ADDR   0x27
 I2C address of the LCD. More...
 
#define LCD_NUMBER_OF_COLS   20
 number of columns of the lcd More...
 
#define LCD_NUMBER_OF_ROWS   4
 number of rows of the lcd More...
 

Macro Definition Documentation

◆ COIL_PIN

#define COIL_PIN   15

GPIO the coil of the safe is connected to.

Author
Hugo3132

◆ ENABLE_CONFIG_SERVER_PIN1

#define ENABLE_CONFIG_SERVER_PIN1   35

GPIO of input pin of switch to enable config server.

◆ ENABLE_CONFIG_SERVER_PIN2

#define ENABLE_CONFIG_SERVER_PIN2   14

GPIO of output pin of switch to enable config server.

◆ ENCODER_PIN_CLK

#define ENCODER_PIN_CLK   27

GPIO of the ky-040 clk pin.

◆ ENCODER_PIN_DT

#define ENCODER_PIN_DT   26

GPIO of the ky-040 dt pin.

◆ ENCODER_SWITCH

#define ENCODER_SWITCH   25

GPIO of the ky-040 sw pin.

◆ LCD_ADDR

#define LCD_ADDR   0x27

I2C address of the LCD.

◆ LCD_NUMBER_OF_COLS

#define LCD_NUMBER_OF_COLS   20

number of columns of the lcd

◆ LCD_NUMBER_OF_ROWS

#define LCD_NUMBER_OF_ROWS   4

number of rows of the lcd

◆ SAFE_COIL_LOCKED

#define SAFE_COIL_LOCKED   LOW

Value of the COIL_PIN if the coil should be locked.

◆ SAFE_COIL_UNLOCKED

#define SAFE_COIL_UNLOCKED   HIGH

Value of the COIL_PIN if the coil should be unlocked.