support 12/24 hour format and a display mode button

(1)Added a new button to do display mode switch
(2)Support 12/24 hour format
(3)Added "debug.cpp" which provide serial I/O for code debugging