TSC AUTO ID Technology Co., Ltd. 216 Copyright 2013 All Rights Reserved.
MINUTE
Description
This variable reads/writes the minute data via the Real Time Clock (RTC). Two-digits (00~59) minute
format is supported by RTC.
Syntax
Write attribute: MINUTE = 12
Read attribute: A = MINUTE
Range: 00~59
Example
Sample code
DOWNLOAD "SetMinute.BAS"
REM *****Set Minute Parameter to RTC*****
MINUTE=27
EOP
SetMinute
Sample code
DOWNLOAD "DEMO.BAS"
SIZE 4,1
GAP 0,0
DIRECTION 1
CLS
REM *****Read Minute parameter form RTC*****
MINUTE$=STR$(MINUTE)
MIN=MINUTE
REM *****Print*****
TEXT 10,10,"3",0,1,1,"MINUTE1="+MINUTE$
TEXT 10,50,"3",0,1,1,"MINUTE2="+STR$(MIN)
TEXT 10,90,"3",0,1,1,"MINUTE3="+STR$(MINUTE)
PRINT 1
EOP
DEMO
Result
See Also
~!C, MONTH, DATE, DAY, HOUR, MINUTE, SECOND