Hi, just creating my first sketch with the arduino. I can make my LED turn on when one object touches another but how do I make it turn off when they are not touching anymore? thnx for any help!
Hello @Dace! Welcome to our forum! You can try to add a timer for this and reset it when the objects touch each other, here is an example of events:
Awesome, just what I was looking for! Thanks for the quick response, my students will be really excited!