22.12.2013 Views

Roku Object Reference - imaginArt

Roku Object Reference - imaginArt

Roku Object Reference - imaginArt

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

oQuadravoxSNS5<br />

This object is used to control and wait for events on the Quadravox SNS5 serial button/LED box.<br />

Interfaces:<br />

• ifSetMessagePort<br />

SetPort(As <strong>Object</strong>) As Void<br />

• ifQuadravoxSNS5 – similar to ifGpioControlPort but with the addition of a Flash state<br />

IsInputActive(id As Integer) As Boolean<br />

GetWholeState() As Integer<br />

SetOutputState(id As Integer, on_state As Boolean,<br />

flash_state As Boolean) As Void<br />

SetWholeState(on_state As Integer,<br />

flash_state As Integer) As Void<br />

SetFlashRate(flash_rate As Integer) As Void<br />

Notes on flash rate: The range is from 0 to 31, 0 is fast, 31 is slow. The default is 2.<br />

roQuadravoxButton<br />

Similar to roGpioButton except that it originates from the Quadravox<br />

Interfaces:<br />

• ifInt – contains button id<br />

GetInt() As Integer<br />

SetInt(id As Integer) As Void<br />

20

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!