Compare commits
11 commits
Author | SHA1 | Date | |
---|---|---|---|
andre.malo | 3fc9d9a5f2 | ||
andre.malo | 37cf881bfa | ||
andre.malo | ae47d2a53d | ||
andre.malo | 6015c15812 | ||
andre.malo | 13d92d1562 | ||
andre.malo | cfd66549ed | ||
andre.malo | 6531649124 | ||
andre.malo | 0ae92c78e5 | ||
andre.malo | 2bb1f8cae8 | ||
andre.malo | 6cbe0da444 | ||
andre.malo | 6b5623c560 |
|
@ -12,4 +12,6 @@
|
||||||
platform = espressif32
|
platform = espressif32
|
||||||
board = esp32-devkitlipo
|
board = esp32-devkitlipo
|
||||||
framework = arduino
|
framework = arduino
|
||||||
monitor_speed = 9600
|
monitor_speed = 9600
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -28,7 +28,7 @@ void i2s_install()
|
||||||
// Set up I2S Processor configuration
|
// Set up I2S Processor configuration
|
||||||
const i2s_config_t i2s_config = {
|
const i2s_config_t i2s_config = {
|
||||||
.mode = i2s_mode_t(I2S_MODE_MASTER | I2S_MODE_RX),
|
.mode = i2s_mode_t(I2S_MODE_MASTER | I2S_MODE_RX),
|
||||||
.sample_rate = 40000,
|
.sample_rate = 44100,
|
||||||
.bits_per_sample = i2s_bits_per_sample_t(16),
|
.bits_per_sample = i2s_bits_per_sample_t(16),
|
||||||
.channel_format = I2S_CHANNEL_FMT_ONLY_LEFT,
|
.channel_format = I2S_CHANNEL_FMT_ONLY_LEFT,
|
||||||
.communication_format = i2s_comm_format_t(I2S_COMM_FORMAT_STAND_I2S),
|
.communication_format = i2s_comm_format_t(I2S_COMM_FORMAT_STAND_I2S),
|
||||||
|
|
Loading…
Reference in a new issue