ESP8266 Countdown Timer

#include <ESP8266WiFi.h> #include <WiFiUdp.h> #include “HCMAX7219.h” #include “SPI.h” #define SECS_PER_MIN (60UL) #define SECS_PER_HOUR (3600UL) #define SECS_PER_DAY (SECS_PER_HOUR * 24L) #define numberOfSeconds(_time_) (_time_ % SECS_PER_MIN) #define numberOfMinutes(_time_) ((_time_ / SECS_PER_MIN) % SECS_PER_MIN) #define numberOfHours(_time_) (( _time_% SECS_PER_DAY) / SECS_PER_HOUR) #define elapsedDays(_time_) ( _time_ / SECS_PER_DAY) #define NUMBEROFDRIVERS 1 //We always have to include the library #include “LedControl.h” LedControl lc = LedControl(12, 14, 15,…