mirror of
https://github.com/meshcore-dev/MeshCore.git
synced 2026-04-20 22:13:47 +00:00
thinknode_m5: initial port
This commit is contained in:
parent
ffbc24b3e7
commit
d0f6def4f9
8 changed files with 421 additions and 0 deletions
21
variants/thinknode_m5/variant.h
Normal file
21
variants/thinknode_m5/variant.h
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
#define I2C_SCL 1
|
||||
#define I2C_SDA 2
|
||||
#define PIN_VBAT_READ 8
|
||||
#define AREF_VOLTAGE (3.0)
|
||||
#define ADC_MULTIPLIER (2.11F)
|
||||
#define PIN_BUZZER 9
|
||||
#define PIN_VEXT_EN_ACTIVE HIGH
|
||||
#define PIN_VEXT_EN 46
|
||||
#define PIN_USER_BTN 21
|
||||
#define PIN_LED 3
|
||||
#define PIN_STATUS_LED 1
|
||||
#define PIN_PWRBTN 14
|
||||
|
||||
#define PIN_DISPLAY_MISO (-1)
|
||||
#define PIN_DISPLAY_MOSI (45)
|
||||
#define PIN_DISPLAY_SCLK (38)
|
||||
#define PIN_DISPLAY_CS (39)
|
||||
#define PIN_DISPLAY_DC (40)
|
||||
#define PIN_DISPLAY_RST (41)
|
||||
#define PIN_DISPLAY_BUSY (42)
|
||||
#define DISP_BACKLIGHT (5)
|
||||
Loading…
Add table
Add a link
Reference in a new issue