Use FHT on A0 and get input envelope on A1

Hey, i'm french student,

for my study project i need use microphone , so i have by this :

it's have 5 output on my microphone :
AUDIO ANALOG A0
ENVELOPPE ANALOG A1
GATE DIGITAL D7
VCC 3.3V
GND

It's connect to my NANO.

For the moment i use fht library with adc_fht sample , it's use only A0.

If i want ENVELOPPE, i add analogRead(A1) on the sample, it's not work....

How can i get multiple analog input with FHT ?

Thinks :wink:

If i want ENVELOPPE, i add analogRead(A1) on the sample, it's not work....

Have you tried running the [u]Analog Read Serial[/u] code modified to read A1?

If you don't get anything with that code and the Envelope connection, try disconnecting the sound sensor board and connect A1 to ground (the ADC should read zero) and then to 5V (the ADC should read 1023).

Those experiments can should tell you if the problem is with the sound sensor, your Arduino, or your software.

What is the source of your FHT library?

Can you post your code?