In recent years, integrated platforms equipped with microcontrollers (with Arduino probably being the best-known brand) have been gaining popularity.
Let’s start with the simple case: performing an action only when the switch goes active. We’ll assume the switch starts in ...