Use stc51 mcu to debounce a button