mirror of
https://github.com/esphome/esphome.git
synced 2025-02-01 02:31:00 +00:00
Set up mclk
This commit is contained in:
parent
35b1b5fae6
commit
b1ad48c824
@ -4,6 +4,9 @@ namespace esphome {
|
||||
namespace es8388 {
|
||||
|
||||
void ES8388Component::setup() {
|
||||
PIN_FUNC_SELECT(PERIPHS_IO_MUX_GPIO0_U, FUNC_GPIO0_CLK_OUT1);
|
||||
WRITE_PERI_REG(PIN_CTRL, READ_PERI_REG(PIN_CTRL) & 0xFFFFFFF0);
|
||||
|
||||
// reset
|
||||
this->write_bytes(0x00, {0x80});
|
||||
this->write_bytes(0x00, {0x00});
|
||||
|
Loading…
x
Reference in New Issue
Block a user