Polycom SoundStructure C16 Design Manual page 251

Hide thumbs Also See for SoundStructure C16:
Table of Contents

Advertisement

The value of a logic input array is read with the digital_gpio_value parameter.
If a logic pin is part of an array, it may not also be used as an individual logic
input pin.
Room 1
Room 2
Switch 2
Switch 1
Room 1
Room 2
Switch 2
Switch 1
Room 1
Room 2
Switch 2
Switch 1
Room 1
Room 2
Switch 2
Switch 1
Logic output arrays may also be defined. The value of a logic output array is
set using the digital_gpio_value parameter. For example if three logic output
pins are part of a logic output array, the command
set digital_gpio_value "Output Array" 7
will set all of the pins in the array named "Output Array" to the value 1.
LED Example
The following figure is an example of how to use an external LED. Most stan-
dard LEDs require approximately 2.0 V to illuminate. In this example a 274
ohm resistor is used to limit the current from the 5V supply of Pin 1and to limit
the voltage and current to a safe level for the LED. Increasing the series resis-
tor value will decrease the current through the circuit and will also decrease
the voltage at the input to the LED, reducing the brightness of the LED.
Room 3
Room 3
Room 3
Room 3
Using Events, Logic, And IR
1 = Switch Open (wall open)
0 = Switch Closed (wall closed)
TwoPinArray[2]
TwoPinArray[1]
1
1
1
0
0
1
0
0
Value
3
2
1
0
9 - 21

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents