File tree Expand file tree Collapse file tree 7 files changed +32
-6
lines changed Expand file tree Collapse file tree 7 files changed +32
-6
lines changed Original file line number Diff line number Diff line change 4
4
5
5
### Enhancements:
6
6
7
+ * feat(touch): add spi xpt2046 by @Lzw655 (#21 )
8
+ * feat(config): add new IO expander CH422G
9
+
10
+ ### Bugfixes:
11
+
12
+ * fix some typo by @leeebo (#16 , #17 )
13
+ * fix(docs): add more details on the version by @leeebo (#23 )
14
+
7
15
## v0.1.0 - 2024-03-07
8
16
9
17
### Breaking changes:
Original file line number Diff line number Diff line change 305
305
#if ESP_PANEL_USE_EXPANDER
306
306
/**
307
307
* IO expander name. Choose one of the following:
308
+ * - CH422G
308
309
* - HT8574
309
310
* - TCA95xx_8bit
310
311
* - TCA95xx_16bit
318
319
*/
319
320
#define ESP_PANEL_EXPANDER_SKIP_INIT_HOST (0) // 0/1
320
321
/* IO expander parameters */
321
- #define ESP_PANEL_EXPANDER_I2C_ADDRESS (0x20)
322
+ #define ESP_PANEL_EXPANDER_I2C_ADDRESS (0x20) // The actual I2C address. Even for the same model of IC,
323
+ // the I2C address may be different, and confirmation based on
324
+ // the actual hardware connection is required
322
325
#if !ESP_PANEL_EXPANDER_SKIP_INIT_HOST
323
326
#define ESP_PANEL_EXPANDER_HOST_ID (0) // Typically set to 0
324
327
#define ESP_PANEL_EXPANDER_I2C_CLK_HZ (400 * 1000)
Original file line number Diff line number Diff line change 305
305
#if ESP_PANEL_USE_EXPANDER
306
306
/**
307
307
* IO expander name. Choose one of the following:
308
+ * - CH422G
308
309
* - HT8574
309
310
* - TCA95xx_8bit
310
311
* - TCA95xx_16bit
318
319
*/
319
320
#define ESP_PANEL_EXPANDER_SKIP_INIT_HOST (0) // 0/1
320
321
/* IO expander parameters */
321
- #define ESP_PANEL_EXPANDER_I2C_ADDRESS (0x20)
322
+ #define ESP_PANEL_EXPANDER_I2C_ADDRESS (0x20) // The actual I2C address. Even for the same model of IC,
323
+ // the I2C address may be different, and confirmation based on
324
+ // the actual hardware connection is required
322
325
#if !ESP_PANEL_EXPANDER_SKIP_INIT_HOST
323
326
#define ESP_PANEL_EXPANDER_HOST_ID (0) // Typically set to 0
324
327
#define ESP_PANEL_EXPANDER_I2C_CLK_HZ (400 * 1000)
Original file line number Diff line number Diff line change 305
305
#if ESP_PANEL_USE_EXPANDER
306
306
/**
307
307
* IO expander name. Choose one of the following:
308
+ * - CH422G
308
309
* - HT8574
309
310
* - TCA95xx_8bit
310
311
* - TCA95xx_16bit
318
319
*/
319
320
#define ESP_PANEL_EXPANDER_SKIP_INIT_HOST (0) // 0/1
320
321
/* IO expander parameters */
321
- #define ESP_PANEL_EXPANDER_I2C_ADDRESS (0x20)
322
+ #define ESP_PANEL_EXPANDER_I2C_ADDRESS (0x20) // The actual I2C address. Even for the same model of IC,
323
+ // the I2C address may be different, and confirmation based on
324
+ // the actual hardware connection is required
322
325
#if !ESP_PANEL_EXPANDER_SKIP_INIT_HOST
323
326
#define ESP_PANEL_EXPANDER_HOST_ID (0) // Typically set to 0
324
327
#define ESP_PANEL_EXPANDER_I2C_CLK_HZ (400 * 1000)
Original file line number Diff line number Diff line change 305
305
#if ESP_PANEL_USE_EXPANDER
306
306
/**
307
307
* IO expander name. Choose one of the following:
308
+ * - CH422G
308
309
* - HT8574
309
310
* - TCA95xx_8bit
310
311
* - TCA95xx_16bit
318
319
*/
319
320
#define ESP_PANEL_EXPANDER_SKIP_INIT_HOST (0) // 0/1
320
321
/* IO expander parameters */
321
- #define ESP_PANEL_EXPANDER_I2C_ADDRESS (0x20)
322
+ #define ESP_PANEL_EXPANDER_I2C_ADDRESS (0x20) // The actual I2C address. Even for the same model of IC,
323
+ // the I2C address may be different, and confirmation based on
324
+ // the actual hardware connection is required
322
325
#if !ESP_PANEL_EXPANDER_SKIP_INIT_HOST
323
326
#define ESP_PANEL_EXPANDER_HOST_ID (0) // Typically set to 0
324
327
#define ESP_PANEL_EXPANDER_I2C_CLK_HZ (400 * 1000)
Original file line number Diff line number Diff line change 305
305
#if ESP_PANEL_USE_EXPANDER
306
306
/**
307
307
* IO expander name. Choose one of the following:
308
+ * - CH422G
308
309
* - HT8574
309
310
* - TCA95xx_8bit
310
311
* - TCA95xx_16bit
318
319
*/
319
320
#define ESP_PANEL_EXPANDER_SKIP_INIT_HOST (0) // 0/1
320
321
/* IO expander parameters */
321
- #define ESP_PANEL_EXPANDER_I2C_ADDRESS (0x20)
322
+ #define ESP_PANEL_EXPANDER_I2C_ADDRESS (0x20) // The actual I2C address. Even for the same model of IC,
323
+ // the I2C address may be different, and confirmation based on
324
+ // the actual hardware connection is required
322
325
#if !ESP_PANEL_EXPANDER_SKIP_INIT_HOST
323
326
#define ESP_PANEL_EXPANDER_HOST_ID (0) // Typically set to 0
324
327
#define ESP_PANEL_EXPANDER_I2C_CLK_HZ (400 * 1000)
Original file line number Diff line number Diff line change 305
305
#if ESP_PANEL_USE_EXPANDER
306
306
/**
307
307
* IO expander name. Choose one of the following:
308
+ * - CH422G
308
309
* - HT8574
309
310
* - TCA95xx_8bit
310
311
* - TCA95xx_16bit
318
319
*/
319
320
#define ESP_PANEL_EXPANDER_SKIP_INIT_HOST (0) // 0/1
320
321
/* IO expander parameters */
321
- #define ESP_PANEL_EXPANDER_I2C_ADDRESS (0x20)
322
+ #define ESP_PANEL_EXPANDER_I2C_ADDRESS (0x20) // The actual I2C address. Even for the same model of IC,
323
+ // the I2C address may be different, and confirmation based on
324
+ // the actual hardware connection is required
322
325
#if !ESP_PANEL_EXPANDER_SKIP_INIT_HOST
323
326
#define ESP_PANEL_EXPANDER_HOST_ID (0) // Typically set to 0
324
327
#define ESP_PANEL_EXPANDER_I2C_CLK_HZ (400 * 1000)
You can’t perform that action at this time.
0 commit comments