User Tools

Site Tools

한국어

logicpython:cubloc_api:time

This is an old revision of the document!


Time

Read system RTC values for addresses 10 through 13.

Syntax

from cubloc import Time
 
Time(address: int)

Parameters

  • address: Time address (0 to 255).

Return Value

Time(10) returns seconds (0 to 59). Time(11) returns minutes (0 to 59). Time(12) returns hours (0 to 65535). Time(13) returns continuous seconds (0 to 65535).

Exceptions

Example

from cubloc import Time
 
# Example usage
result = Time(1)
print(result)
logicpython/cubloc_api/time.1775786799.txt.gz · Last modified: by 127.0.0.1