
5.2.4.2 Alerts
void timedAlert(unsigned long timeout);
Polls the
PARAMETERS
timeout is the duration of the timeout in seconds
RETURN VALUE
None.
SEE ALSO
brdInit
void digInAlert(int dataport, int portbit, int value, unsigned long timeout);
Polls a digital input for a set value or until a timeout occurs. The RCM4000 will be in a
PARAMETERS
dataport is the input port data register to poll (e.g., PADR). portbit is the input port bit
value is the value of 0 or 1 to receive.
timeout is the duration of the timeout in seconds (enter 0 for no timeout).
RETURN VALUE
None.
46 | RabbitCore RCM4000 |