Roku HD110 User Guide - Page 42

Examples, Controlling serial output from an interactive playlist, gpios

Page 42 highlights

• gpios: Turns on the specified GPIO's; unspecified GPIO's are turned off. Examples Demo_menu.bmp:gpios(1;3;5) When BrightSign enters the demo_menu.bmp state, LED's 1, 3, and 5 are turned on; the other LED's are turned off. aq.ts:gpiosOn(2) When BrightSign enters the aq.ts state, LED 2 is turned on and the other LED's are unaffected. ppt10.bmp:gpiosOff(0;2;4) When BrightSign enters the ppt10.bmp state, LED's 0, 2, and 4 are turned off; and the other LED's are unaffected. product1.bmp:gpios() When BrightSign enters the product1.bmp state, All LED's are turned off. Controlling serial output from an interactive playlist To control serial output for a particular state, add a Serial command to the second column of the state specification in the interactive playlist. When BrightSign enters the serial state, the specified string is output via the serial connector. The format is: serialSend: 36 • •

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84
  • 85
  • 86
  • 87
  • 88
  • 89
  • 90
  • 91
  • 92
  • 93
  • 94
  • 95
  • 96
  • 97
  • 98
  • 99
  • 100
  • 101
  • 102
  • 103
  • 104
  • 105
  • 106
  • 107
  • 108
  • 109
  • 110
  • 111
  • 112
  • 113
  • 114
  • 115
  • 116
  • 117
  • 118

36
gpios
: Turns on the specified GPIO’s; unspecified GPIO’s are turned off.
Examples
Demo_menu.bmp:gpios(1;3;5)
When BrightSign enters the demo_menu.bmp state, LED’s 1, 3, and 5 are turned on; the other
LED’s are turned off.
aq.ts:gpiosOn(2)
When BrightSign enters the aq.ts state, LED 2 is turned on and the other LED’s are unaffected.
ppt10.bmp:gpiosOff(0;2;4)
When BrightSign enters the ppt10.bmp state, LED’s 0, 2, and 4 are turned off; and the other LED’s
are unaffected.
product1.bmp:gpios()
When BrightSign enters the product1.bmp state, All LED’s are turned off.
Controlling serial output from an interactive playlist
To control serial output for a particular state, add a Serial command to the second column of the
state specification in the interactive playlist. When BrightSign enters the serial state, the specified
string is output via the serial connector. The format is:
serialSend:<string>