Programming an automated fire extinguisher.

use millis and read the inputs every half a second or so. that should be enough. :slight_smile: