mirror of
https://github.com/Xinyuan-LilyGO/TTGO_TWatch_Library.git
synced 2026-03-14 20:17:00 +01:00
fix inmp441 channel format
This commit is contained in:
@@ -39,7 +39,7 @@ void setup()
|
||||
.mode = (i2s_mode_t)(I2S_MODE_MASTER | I2S_MODE_RX ),
|
||||
.sample_rate = 44100,
|
||||
.bits_per_sample = I2S_BITS_PER_SAMPLE_16BIT,
|
||||
.channel_format = I2S_CHANNEL_FMT_RIGHT_LEFT,
|
||||
.channel_format = I2S_CHANNEL_FMT_ONLY_LEFT,
|
||||
.communication_format = (i2s_comm_format_t)(I2S_COMM_FORMAT_I2S | I2S_COMM_FORMAT_I2S_MSB),//I2S_COMM_FORMAT_I2S,
|
||||
.intr_alloc_flags = ESP_INTR_FLAG_LEVEL1,
|
||||
.dma_buf_count = 2,
|
||||
|
||||
@@ -7,4 +7,4 @@ paragraph=twatch library
|
||||
category=Device Control
|
||||
url=https://github.com/Xinyuan-LilyGO/TTGO_TWatch_Library
|
||||
architectures=esp32
|
||||
includes=TTGO.h
|
||||
includes=*
|
||||
|
||||
Reference in New Issue
Block a user