I am working on a halloween project and am using arduino, nodemcu, and bluetooth to remotely activate several props. I am a novice at this and I have copied and pasted other users arduino scripts and app inventor designs. I have gotten the single click on/off, and momentary on/off to work. What I cant figure out is how to make a button press stay on for a specific amount of time and then turn itself of. E.G: I want to make a fog machine stay on for 5-10 seconds after a single button press.
Thanks in advanced,