Add OLED and button diagnostics

This commit is contained in:
2026-08-29 14:13:34 +02:00
parent bb04e0ba79
commit ec9ca5e6d2
13 changed files with 1117 additions and 28 deletions
+9
View File
@@ -1,6 +1,7 @@
#pragma once
#include "driver/gpio.h"
#include "driver/i2c_types.h"
#include "driver/uart.h"
/*
@@ -12,6 +13,14 @@
*/
#define BOARD_RGB_LED_GPIO GPIO_NUM_48
/* Phase 7 local OLED and active-low navigation buttons. */
#define LOCAL_UI_I2C_PORT I2C_NUM_0
#define LOCAL_UI_DISPLAY_SDA_GPIO GPIO_NUM_11
#define LOCAL_UI_DISPLAY_SCL_GPIO GPIO_NUM_12
#define LOCAL_UI_BUTTON_PREVIOUS_GPIO GPIO_NUM_10
#define LOCAL_UI_BUTTON_SELECT_GPIO GPIO_NUM_13
#define LOCAL_UI_BUTTON_NEXT_GPIO GPIO_NUM_14
#define RS232_UART_PORT UART_NUM_1
/* UART2 is used only as an internal traffic generator during flow-control tests. */