26
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)
o LED’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)
o LED 2 is turned on; other LED’s are unaffected when the aq.mpg state is
entered
• ppt10.bmp:gpiosOff(0;2;4)
o LED’s 0, 2, and 4 are turned off; other LED’s are unaffected when the
ppt10.bmp state is entered
• product1.bmp:gpios()
o All LED’s are turned off when the product1.bmp state is entered
Preloading Images
The autoplay script tries to be smart about preloading still images so that when a user
triggers their display, they pop up immediately. Here are the rules that are used to
preload an image:
1. If a state (row in the table) only has one possible next image state, then it is
preloaded.
2. If a state has more than one possible next image state, but one of them is the next
row in the state table, then it (next state row’s file) is preloaded. So if you have a
sequence of images that display one after the other, put them in sequential rows in
the state table to trigger preloading. As an example of this, see the bs1.bmp,
bs2.bmp, etc states (rows) in the prior table.
Multiple State Machines within a single CSV file (HD2000 only)
On an HD2000, it’s possible to create interactive displays with multiple state machines
within a single CSV file. For example, it is possible to create a display which uses a set of
inputs and uses HDMI for audio/video output while a different set of inputs controls other
content using BrightSign’s analog audio outputs. The two state machines can run
simultaneously and independently.
Comments to this Manuals