feat: add display and touch initialization in DisplayHandler
This commit is contained in:
11
main/display/constants.h
Normal file
11
main/display/constants.h
Normal file
@@ -0,0 +1,11 @@
|
||||
#pragma once
|
||||
#include "driver/spi_master.h"
|
||||
#include "driver/gpio.h"
|
||||
|
||||
#define PIN_TOUCH_IRQ GPIO_NUM_4
|
||||
#define PIN_TOUCH_SDA GPIO_NUM_5
|
||||
#define PIN_TOUCH_SCL GPIO_NUM_6
|
||||
#define PIN_BUSY GPIO_NUM_7
|
||||
#define PIN_RST GPIO_NUM_8
|
||||
#define PIN_DC GPIO_NUM_9
|
||||
#define PIN_CS GPIO_NUM_10
|
||||
Reference in New Issue
Block a user