Remove request for temperature unit command, as it is no longer needed This is because the temperature value sent is always in Fahrenheit. Previous version does not convert negative Celsius correctly. Also it does not take care of situations when there is overflow (i.e. exceed 255 Fahrenheit).
Temperature is scanned at every 4 seconds.
Added CRC for temperature sensor
Modified for new hardware that caters for 2, 4, 6, 8-ways inputs and outputs. The new hardware uses matrix scanning for inputs. This applies to ID setting and configurations setting as well. There is a delicated port to cater for IR receiver, not like the previous model.
The LED outputs are periodically refreshed for energy conservation.
Changed the time to reply for RS485 communication to 10 ms, to adhere to specifications.