i2s output
Posted: Sat Dec 10, 2016 8:22 pm
Is it OK to call i2s_write_lr inside an interrupt service routine?
-->
Open Community Forum for ESP8266, Come share Arduino and IoT (Internet of Things)
https://www.esp8266.com/
attachInterrupt(0, zero_cross, FALLING);
void zero_cross() {
zero_cross_trig = true;}
void loop() {
while (!zero_cross_trig);
// your interrupt code here
zero_cross_trig = false;