# PulseAt
Sends a pulse at specified time
PulseAt
O
# Outputs
| ID | Abbrev | Name | Type | Default | Description |
|---|---|---|---|---|---|
pulse | O | Pulse | BOOLEAN | false | Pulse output |
# Configuration
| ID | Name | Type | Default | Unit | Description |
|---|---|---|---|---|---|
interval | Interval | NUMBER | 1 | Pulse interval in seconds |
# State
| ID | Name | Type | Default | Unit | Description |
|---|---|---|---|---|---|
last_output | Last output | BOOLEAN | false | Last output value | |
last_activation_ts | Last execution timestamp | NUMBER | 0 | s | Last execution timestamp in seconds from epoch |
next_activation_ts | Next execution timestamp | NUMBER | 0 | s | Next execution timestamp in seconds from epoch |
# Source Code
View Volang source
extern fn std::next_activation_at() {
return time::now() + config::get("interval")
}
output::toggle("pulse")
