Return the current state of the alarm
GetAlarmState( alarmno )
Fetch the state of a given alarm.
alarmno | The alarm number |
Returns the current state of the alarm. 1=alarm is active. 0=alarm is not active.
if(GetAlarmState(10)) { // logic to run if alarm is active }