FireSync API
 All Classes Files Functions Variables Typedefs Friends Macros Modules Pages
kStatus kProjector_SetPalette ( kProjector  projector,
kSize  index,
k32u  pixel 
)

Sets the output pixel value corresponding to the specified pattern input value.

This setting is used in 2D_1BPP pattern mode, in which the input pattern consists of one-bit pixels. Palette values determine the output display intensities corresponding to pixel value 0 and pixel value 1.

Parameters
projectorProjector object.
indexPalette index (e.g., 0 or 1 for 1-BPP pattern).
pixelOutput pixel value.
Returns
Operation status.
See also
kProjector_LoadPatterns, kProjector_Palette