|
deki-rtc 0.19.0
Deki package reference
|
Real-time clock peripheral interface and DS3231 (I²C) backend
Repository: github.com/dekiengine/deki-rtc · Latest release: 0.19.0 · Needs engine 0.19.0+ · Requires: deki-i2c
Install with DekiEditor --packages-add deki-rtc <project>, or from the Package Manager. The engine's own components and C++ API are in the Deki docs.
Shown in the editor as RTC (Real-Time Clock).
| Component | Category | Description |
|---|---|---|
| DS3231RTCComponent | Sensors | Reads and sets the DS3231 real-time clock over I2C. |
| SystemClockRTCComponent | System | Uses the computer's own clock as the real-time clock, for editor and desktop runs. |
Parts you can leave out of a build. A feature with a define is switched there; the rest are stripped with their components.
| Feature | Define | Default |
|---|---|---|
| DS3231 (I²C) | DEKI_FEATURE_RTC_DS3231 | on |
Reads and sets the DS3231 real-time clock over I2C.
Inspector name: DS3231 RTC · Category: Sensors · Type: DekiRtc::DS3231RTCComponent
| Property | Type | Default | Constraints | Description |
|---|---|---|---|---|
| i2cPort | int32 | 0 | 0 to 3 | Which I2C bus the clock chip is on. Must match the I2C Bus component that set that port up. |
Uses the computer's own clock as the real-time clock, for editor and desktop runs.
Inspector name: System Clock RTC · Category: System · Type: DekiRtc::SystemClockRTCComponent
No reflected properties.
Earlier releases: CHANGELOG.md.
Generated from the package's reflection data (engine 0.19.0). Property names are the keys used in scene files. Renames keep an alias (compatibility).