version 3
version 4
version 5
version 6
version 7

Adding comments and layout
version 8

Adding temperature feature
Adding Low-Pass filter
Removing weighted
average
Adding reverse mode in alarm mode