RTC
Realtime Clock
- Overview
- Driver
- Tethered
- Standalone
This module is a RTC (Real Time Clock) "time sensor" with a backup battery to keep time running even when the system is powered off.
Key features • Real Time Clock | Resources PID: 0x06000F |
Driver Scripts go hand-in-hand with DUELink official firmware. See the Driver Scripts page for further details.
| Function | Description |
|---|---|
SetTime(y,n,d,h,m,s) | Sets date/time to y year, n month, d day, h hour, m minute, and s second. |
GetTime() | Returns current time in _y, _n, _d, _h, _m, _s variables. |
DVer() | This driver version. |
The Code!
RTC Driver
loading...
These Tethered samples assume the driver is installed, see the Driver Tab.
- Python
- MicroPython
- JavaScript
- .NET
Python Sample
loading...
MicroPython Sample
loading...
JavaScript Sample
loading...
.NET Sample
loading...
These samples show how to run DUELink Standalone.
- Script
- Arduino
This example runs using the default DUELink Internal Engine using its Scripting Language, and it expects the driver to be loaded first, see the Driver Tab.
Standalone Script Sample
loading...
See Arduino page for more info.
Standalone Arduino Sample
loading...
Ordering Info
| Product | Part Number | Price |
|---|---|---|
| DUELink RTC | GDL-SERTC-B | $12.95 |