Closed mdaeron closed 4 years ago
You could reset the ESP32 in the REPL. That might be a better method compared to unplugging/plugging the USB cable?
import machine
machine.reset()
Workaround provided.
The latest commit removes the need for a hard reset.
If for some reason my code exits without calling
I2S.deinit()
, after I soft-reboot the board (crtl-D in REPL) I get the following message:Apart from a hard reboot (unplugging and replugging my USB cable), is there a more elegant way to deinit() I2S?