Go Down

Topic: TOUCH SENSOR, AUDIO AND LED (Read 809 times) previous topic - next topic

Erika86

Hi all. I'm prototyping a project and I need your help. I have a touch sensor, 2 buttons, some leds and audio to play. When I press at the same time the two buttons, the leds start to fade in and out as I want and now I need when I touch the capacitive touch sensor a sound has to be played and the leds have to turn off.
Firstly, I built touch sensor behaviour and leds behaviour separetly and they are ok but when I join them in one file, something happens: according to delay I have just the leds working or the sensor.
I attached the code to let you know what I did.
If you are able to find why it doesn't work please help me!!

Go Up