modify timer.h and upload keypad_port.h