Roku manual Controlling Gpio Outputs from a CSV File HD2000 only

Models: HD2000

1 54
Download 54 pages 34.84 Kb
Page 24
Image 24

In the example above, the state cars.mpg is in the “elo:110:180:350:400” event column. To track the number of times that the user activates this transition, enter “cars.mpg:counter(TouchToDemoMenu) in place of “cars.mpg”. The value in the registry corresponding to the TouchToDemoMenu key is incremented when the corresponding event is triggered.

To display the contents of the registry from a CSV file, use the reserved state name “DisplayRegistry”. That is, add a row to the table with the word “DisplayRegistry” in the column to the right of the keyword STATE. The remainder of the row is like any other row in the table – it contains other states to transition to when events occur. Elsewhere in the table, add the state DisplayRegistry in the column for the event intended to cause the registry to be displayed.

When the system transitions to this state, playback from the prior state is stopped and the contents of the registry are displayed on the monitor attached to the BrightSign.

To display only a subset of the registry, use the following syntax:

DisplayRegistry-<registry section name>

Controlling GPIO Outputs from a CSV File (HD2000 only)

When using CSV files on the HD2000, it is possible to control the GPIO outputs from a CSV file. GPIO’s can be set by appending a GPIO command to the state specifications in the second column of CSV files. The GPIO’s are set based on the appended command when the state is entered.

The general syntax is:

<state name>:<gpio command>(<gpio_num>;<gpio_num>;gpio_num)

That is, the state name followed by a colon, then the gpio command, then a list of semicolon separated gpio’s inside of parentheses.

Gpio 0 corresponds to the first LED on the button board

The GPIO commands are

gpiosOn – turns on the specified GPIO’s; unspecified GPIO’s are unchanged.

gpiosOff – turns off the specified GPIO’s; unspecified GPIO’s are unchanged.

gpios – turns on the specified GPIO’s; unspecified GPIO’s are turned off.

Examples

Demo_menu.bmp:gpios(1;3;5)

oLED’s 1, 3, and 5 are turned on; the other LED’s are turned off when the demo_menu.bmp state is entered

aq.mpg:gpiosOn(2)

oLED 2 is turned on; other LED’s are unaffected when the aq.mpg state is entered

24

Page 24
Image 24
Roku manual Controlling Gpio Outputs from a CSV File HD2000 only

HD2000 specifications

The Roku HD2000 is a staple in the streaming device market, celebrated for its user-friendly interface and robust features. This compact device allows users to access a wide range of content from various streaming services, making it an excellent option for anyone looking to elevate their home entertainment experience.

One of the standout features of the Roku HD2000 is its support for high-definition streaming. The device outputs content in 1080p, providing crisp visuals and vibrant colors. This HD capability ensures that users can enjoy their favorite shows, movies, and live sports in impressive detail, enhancing the overall viewing experience.

In terms of connectivity, the Roku HD2000 offers both wired and wireless options. Users can easily connect the device to their home Wi-Fi network, allowing for uninterrupted streaming without the hassle of cables. Additionally, the Roku HD2000 includes an HDMI port, which ensures compatibility with a wide range of televisions and sound systems.

The device is powered by a user-friendly software platform that presents an intuitive interface. The home screen displays a grid of channels, making it easy for users to find and access their favorite streaming services. Roku's operating system also supports thousands of channels, including popular services like Netflix, Hulu, Amazon Prime Video, and Disney+. This extensive library ensures that users always have something to watch.

Another noteworthy characteristic of the Roku HD2000 is its voice search functionality. Through the Roku mobile app or the included remote, users can search for content using voice commands. This feature simplifies the process of finding shows and movies, making the device accessible to users of all ages.

The compact design of the Roku HD2000 allows it to fit seamlessly into any entertainment setup. Its minimalist aesthetic and lightweight build make it easy to move around or hide away, yet it remains powerful enough to deliver a top-notch streaming experience.

Overall, the Roku HD2000 combines advancements in streaming technology with user-friendly features, making it an ideal choice for anyone looking to access a wealth of entertainment options from the comfort of their home. Whether for binge-watching series or catching live sports, the Roku HD2000 stands out as a reliable and versatile streaming solution.