One button to control On and Off LED

This has been ccovered many times on this forum, a quick search for toggle button should reveal many solutions

From that search result.

1 Like