fix: define pins

This commit is contained in:
surtur 2020-11-01 20:32:34 +01:00
parent 55f54d6d23
commit 5e218393b8
Signed by: wanderer
GPG Key ID: 19CE1EC1D9E0486D

View File

@ -14,6 +14,19 @@
void delay(void);
void led_update_state(void);
/* A4 */
#define SWITCH_PIN (4)
/* E5 */
#define SV1_PIN (5)
/* D3 */
#define H1_PIN (3)
/* C16 */
#define H2_PIN (16)
/* D2 */
#define H3_PIN (2)
static int i = 0;
void init(void);
static inline int is_key_pressed(int pin);