Skip to main content

set_heart_beat

Discworld driver help

set_heart_beat

Name

set_heart_beat() - enable or disable an objects heartbeat

Synopsis

int set_heart_beat( int flag );

Description

Passing `flag' as 0 disables the objects heart beat. Passing a `flag' of 1 will cause heart_beat() to be called in the object once each heart beat (every 2 seconds).

See also

heart_beat(), query_heart_beat()