libkovan  1
The kovan standard library
General

Functions

VF EXPORT_SYM void set_auto_publish (int on)
 Sets whether or not hardware output command publishing happens automatically. More...
 
VF EXPORT_SYM void publish ()
 Explictly publishes new data to the system. More...
 

Detailed Description

Function Documentation

VF EXPORT_SYM void publish ( )

Explictly publishes new data to the system.

All hardware output commands are stored locally before being written to the system. This allows for batch execution of commands with automatic publishing turned off.

VF EXPORT_SYM void set_auto_publish ( int  on)

Sets whether or not hardware output command publishing happens automatically.

publish() is, by default, called on your behalf by libkovan. When you turn automatic publishing off, libkovan expects you to publish() changes manually.

Parameters
[in]on1 for automatic publishing, 0 for manual publishing
Note
Any command involving hardware modification, such as motors or servos, requires publish() to be called before changes will be written to the system.