Go Down

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


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

Please enter a valid email to subscribe

Confirm your email address

We need to confirm your email address.
To complete the subscription, please click the link in the email we just sent you.

Thank you for subscribing!

via Egeo 16
Torino, 10131