Garage project

Use millis. When you first notice that the door is open, record the value of millis. If it's still open when mills()-recordedValue > fiveMinutes, close the door.