Group ID
Group
3
Output
Display
4
5
Tally
Reference
6
Configuration
7
8
Color Correction
The group ID is then used in the Arduino sketch to determine what parameter to change.
The function: sdiCameraControl.writeXXXX, is named based on what parameter you wish to change,
and the suffix used depends on what group is being controlled.
For example sdiCameraControl.writeFixed16 is used for focus, aperture, zoom, audio, display, tally and
color correction when changing absolute values.
The complete syntax for this command is as follows:
sdiCameraControl.writeFixed16 (
Camera number,
Group,
Parameter being controlled,
Operation,
Value
);
The operation type specifies what action to perform on the specified parameter
0 = assign value. The supplied Value is assigned to the specified parameter.
1 = offset value. Each value specifies signed offsets of the same type to be added to the current
parameter Value.
For example:
sdiCameraControl.writeCommandFixed16(
1,
8,
0,
0,
liftAdjust
);
1 = camera number 1
8 = Color Correction group
0 = Lift Adjust
0 = assign value
liftAdjust = setting the value for the RGB and luma levels
As described in the protocol section, liftAdjust is a 4 element array for RED[0], GREEN[1], BLUE[2] and
LUMA[3]. The complete array is sent with this command.
The sketch examples included with the library files contain descriptive comments to explain their
operation.
Studio Camera Control Protocol
210