Reads the value of a module's pin.



apiread module, pin



Parameters


module

       Name of module or (internal) function.


pin

       Name of pin. Pin names are case insensitive.


Example


The following example returns the 0-based index number of the Switcher's active program bus button.



apiread switcher, programbus