# PulseAt
PulseAt
O
# Ausgänge
| ID | Kürzel | Name | Typ | Standard | Beschreibung |
|---|---|---|---|---|---|
pulse | O | pulse | BOOLEAN | false |
# Konfiguration
| ID | Name | Typ | Standard | Einheit | Beschreibung |
|---|---|---|---|---|---|
interval | interval | NUMBER | 1 |
# Zustand
| ID | Name | Typ | Standard | Einheit | Beschreibung |
|---|---|---|---|---|---|
last_output | last_output | BOOLEAN | false | ||
last_activation_ts | last_activation_ts | NUMBER | 0 | s | |
next_activation_ts | next_activation_ts | NUMBER | 0 | s |
# Quellcode
Volang-Quellcode anzeigen
extern fn std::next_activation_at() {
return time::now() + config::get("interval")
}
output::toggle("pulse")
