You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
On TTGO T4 GPIO26 used for DC signal of LCD. I make some changing in source code.
In i_sound.c i2s_set_dac_mode(I2S_DAC_CHANNEL_LEFT_EN); used GPIO26, i change it to
i2s_set_dac_mode(I2S_DAC_CHANNEL_RIGHT_EN);
but initialisation steel use both GPIO25 and GPIO26 for internal DAC, and im making some more changes
i2s_set_pin(I2S_NUM_0, NULL) //NULL is using both GPIOs
change to
i2s_set_pin(I2S_NUM_0, &pin_config);
On TTGO T4 GPIO26 used for DC signal of LCD. I make some changing in source code.
In i_sound.c i2s_set_dac_mode(I2S_DAC_CHANNEL_LEFT_EN); used GPIO26, i change it to
i2s_set_dac_mode(I2S_DAC_CHANNEL_RIGHT_EN);
but initialisation steel use both GPIO25 and GPIO26 for internal DAC, and im making some more changes
i2s_set_pin(I2S_NUM_0, NULL) //NULL is using both GPIOs
change to
i2s_set_pin(I2S_NUM_0, &pin_config);
and adding GPIO struct
static const i2s_pin_config_t pin_config = {
.data_out_num = 25
};
Now all work fine (but SPI work only on 26-30 mHz, for TTGO T4 need additional change in spi_lcd.c)
The text was updated successfully, but these errors were encountered: