Hello, I am writing a TERMOSTAT program for ESP8266 in C++. The assumption is that it is to handle several temperature sensors. Each sensor is one thermostat. The thermostats are to be quite advanced, i.e. I am to be able to define for each day of the week (Monday, Tuesday, Wednesday, etc.) several time thresholds (e.g. 6:00, 10:00, 15:30, etc.) and in each threshold define a different temperature (e.g. 6:00 - 20 deg C, 10:00 - 22 deg C, 15:30 - 24 deg C). For now, these are preliminary assumptions and I am wondering about the structure of the program. Should I use an array, a structure or maybe a class and invoke objects e.g. thermostat1, thermostat2, thermostat3 etc. which will contain the above assumptions. I can't really think of a program skeleton. It seems to me that classes would be best for this. Please give me some suggestions.