'/////////////////变量声明///////////////////
Dim A As Byte , K As Byte , K1 As Byte
Dim K2 As Byte , K3 As Byte
Dim S As Byte , M As Byte , H As Byte
Dim Day As Byte , Mouth As Byte , Week As Byte
Dim Nian As Byte , D As Byte
Dim Sj_sj As Bit , Set_bz As Bit
Dim Tm(10) As Byte '时间日历数据
Dim Show(7) As String * 3 '调整时显示字符
'//////////////////主程序////////////////////
Set Spk
Cls
Locate 1 , 5
Lcd "Velecom!"
Waitms 50
Locate 2 , 2
Lcd "Zhou-changhong"
Wait 1
'//////////////////主循环////////////////////
Do
Gosub Rd_key
If K <> 0 Then
K3 = K
Waitms 20
Gosub Rd_key
If K = K3 Then
Gosub Spk_1ds
Select Case K
Case 1
' Gosub Time_stop
Case 2
Case 4
' Gosub Time_start
Case 8
' Gosub Wr_time
End Select
While K = K3 '等待按键释放
Gosub Rd_key
Wend
End If
End If
Gosub Rd_time
Waitms 20
Gosub Szxs
Waitms 20
Loop