# PulseAt

Input scheduler

Sends a pulse at specified time

PulseAt
O

# Outputs

IDAbbrevNameTypeDefaultDescription
pulseOPulseBOOLEANfalsePulse output

# Configuration

IDNameTypeDefaultUnitDescription
intervalIntervalNUMBER1Pulse interval in seconds

# State

IDNameTypeDefaultUnitDescription
last_outputLast outputBOOLEANfalseLast output value
last_activation_tsLast execution timestampNUMBER0sLast execution timestamp in seconds from epoch
next_activation_tsNext execution timestampNUMBER0sNext 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")

Sends a pulse at specified time