Add OLED and button diagnostics
This commit is contained in:
@@ -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. */
|
||||
|
||||
Reference in New Issue
Block a user