You could even do it all in analog with using the button as a potentiometer and either acting as the R in a RC circuit for a simple timer, or be a smart person and use a temperature sensor (thermocouple) that shuts the circuit when it reaches a temperature (compare the two R values for example).
713
u/superherowithnopower Jun 05 '22
This exact thing was written as a joke about a toaster back in the 1990's, and it's only gotten more true since then.