Skip to content

Commit f13b5ef

Browse files
committed
Define PIN macros for the Preonic's 'core' pins
1 parent d50e255 commit f13b5ef

1 file changed

Lines changed: 17 additions & 0 deletions

File tree

variants/preonic/variant.h

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,23 @@ extern "C"
5757
#define LED_STATE_ON 1 // State when LED is litted
5858

5959

60+
#define PIN_LED_ENABLE 20
61+
#define PIN_LED_DATA 19
62+
#define PIN_BATT_ALERT 21
63+
#define PIN_CHARGE_STATUS 22
64+
#define PIN_POWER_GOOD 31
65+
66+
#define PIN_ENC1_A 23
67+
#define PIN_ENC1_B 24
68+
69+
#define PIN_ENC2_A 25
70+
#define PIN_ENC2_B 26
71+
72+
#define PIN_ENC3_A 27
73+
#define PIN_ENC3_B 28
74+
75+
76+
6077
/*
6178
* Analog pins
6279
#define PIN_A0 (14)

0 commit comments

Comments
 (0)