Skip to content

alarm_get_running

drewmccluskey edited this page Jan 23, 2019 · 2 revisions

alarm_get_running

Returns whether the indicated alarm is currently running

Syntax:

alarm_get_running(index)
Argument Description
int index Alarm index

Returns: bool

Description:

This function will return bool if the chosen alarm is turned on/off.

Example:

alarm_get_running(3);

The above code will return false if alarm 3 is off or true if alarm 3 is on.

Back to Alarms

Clone this wiki locally