Registry (HD2000 only)

The BrightSign has an I2CROM with 2K bytes of memory that supports the storage of persistent settings. The purpose of the registry is to enable customers to persist usage statistics and other small amounts of information that may change regularly.

Individual items are stored in the registry through the use of registry keys and values. For example, there might be a registry key named “NumberOfButtonPresses”; the corresponding registry value would be used to count the number of times a button is pressed. Registry data can be organized into different registry sections if desired.

CSV files support writing to the registry, deleting from the registry, and displaying the contents of the registry – see the Using Excel to Create Interactive Signs section earlier in the document. The contents of the registry can also be displayed from a playlist – see the Playlist Commands section earlier in the document.

The number of registry keys and values that can be used is dependent on a number of factors, including the number of sections, the number of keys/values per section, and the size of the keys and values. In typical usage, there’s room in the registry for about 50 keys.

GPIO Control Port

The BrightSign has a DB25 General Purpose Input Output (GPIO) Port. This port has 12 inputs that can be directly connected to buttons or switches, and 6 outputs that can directly drive LEDs. To use this port you must create a simple but custom cable that connects a DB25 connector to your buttons or LEDs. See the BrightSign Hardware Manual for more information and example circuits. Roku has a test button/LED board that you can purchase to evaluate the GPIO port and test your scripts that read the buttons or set the LEDs.

Here is an example script that will flash an LED for half a second each time a button is pressed on the BrightSign button/led board.

print "BrightSign Button-LED Test Running" p = CreateObject("roMessagePort")

tmr = CreateObject("roMessagePort")

gpio = CreateObject("roGpioControlPort") gpio.SetPort(p)

event_loop: msg=wait(0, p)

if type(msg)<>"roGpioButton" then event_loop butn = msg.GetInt()

if butn > 5 then event_loop gpio.SetOutputState(butn+17,1) print "Button Pressed: ";butn msg = wait (500, tmr) gpio.SetOutputState(butn+17,0)

clear_events:

35

Page 35
Image 35
Roku manual Registry HD2000 only, Gpio Control Port

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.