Files
e-ink_F1_Display/include/config.h
T

17 lines
456 B
C

// Pico W GPIO assignments for the Waveshare 4.2-inch V2 display.
#define EPD_RST_GPIO 12
#define EPD_BUSY_GPIO 13
#define EPD_DC_GPIO 8
#define EPD_CS_GPIO 9
#define EPD_MOSI_GPIO 11
#define EPD_CLK_GPIO 10
#define DEVICE_HOSTNAME "F1_Dashboard"
#define TIMEZONE "CST6CDT,M3.2.0/2:00:00,M11.1.0/2:00:00"
// Display resolution
#define EPD_4IN2B_V2_WIDTH 400
#define EPD_4IN2B_V2_HEIGHT 300
#define MUTEX_TIMEOUT_TICKS pdMS_TO_TICKS(150)