void AudioOutputI2Sslave::begin(void) | void AudioOutputI2Sslave::begin(void) | ||||
{ | { | ||||
#if 0 | |||||
dma.begin(true); // Allocate the DMA channel first | dma.begin(true); // Allocate the DMA channel first | ||||
//pinMode(2, OUTPUT); | //pinMode(2, OUTPUT); | ||||
update_responsibility = update_setup(); | update_responsibility = update_setup(); | ||||
dma.enable(); | dma.enable(); | ||||
dma.attachInterrupt(isr); | dma.attachInterrupt(isr); | ||||
#endif | |||||
} | } | ||||
void AudioOutputI2Sslave::config_i2s(void) | void AudioOutputI2Sslave::config_i2s(void) |