Important changes to forums and questions
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
6 years, 10 months ago.
F746_SAI_IO No INPUT_LINE in BOTH condition
Hello Mikami and all, thanks a lot your good library SAI_IO for F746 Just one problem when you connect the signal on line and change:
from
SaiIO mySai(SaiIO::BOTH, N_FFT+1, FS, INPUT_DEVICE_DIGITAL_MICROPHONE_2);
to SaiIO mySai(SaiIO::BOTH, N_FFT+1, FS, INPUT_DEVICE_INPUT_LINE_1);
or to swicth:
sw = 0: DIGITAL_MICROPHONE_2 1: LINE_1 void SwitchInputDevice(int sw);
sw from 0 to 1
So, the program go to stop.
Have one idea to solve this issue?
Thank you.
Francesco