6段数码管分别显示,时,分,秒,四个按键,K1(P0.0),K2(P0.1), K3(P0.2),K4(P0.3),四个按键用来调时间的,按下K1,所有位都...
代码说明:
6段数码管分别显示,时,分,秒,四个按键,K1(P0.0),K2(P0.1), K3(P0.2),K4(P0.3),四个按键用来调时间的,按下K1,所有位都清零显示,然后按下K2,秒在闪烁,继续按K2分闪烁,不段地按K2 秒--分--时切换着闪烁,在某位闪时按下K3相应位加一,确认调整,按K4,取消调整再按K1。在K1按下以后才有调时的功能,如果K1没有按下,按别的键没有反映。这为了在加点按键功能留着用 -6 respectively of the digital control, when, minutes and seconds, four keys, K1 (P0.0). K2 (P0.1), K3 (P0.2), K4 (width), the four keys to the transfer time, press the K1, All spaces are reset, then press K2, the scintillation seconds, according to K2 pm flickered. not according to K2 of seconds-- minutes-- when switching to flicker in certain press the flash-K3 corresponding increase in a confirmed adjustment by K4, then canceled K1 adjustment. K1 in the press will only be made after the transfer of function, if K1 pressed by other key is not reflected. This points to the function keys used Retention
下载说明:请别用迅雷下载,失败请重下,重下不扣分!