ECE4760 - Laser Projector (ipb7, jcc384, pfc38)  1
Raster Laser Projection
Data Fields
projector_color Struct Reference

#include <projector.h>

Data Fields

char red: 2
 
char blue: 2
 
char green: 2
 

Detailed Description

A pixel in RGB color space represented in six bits. Bits not defined here should not be set. A GCC-specific pragma is used to ensure pixels are stored in only one byte.

Definition at line 47 of file projector.h.

Field Documentation

§ blue

char projector_color::blue

Definition at line 49 of file projector.h.

§ green

char projector_color::green

Definition at line 50 of file projector.h.

§ red

char projector_color::red

Definition at line 48 of file projector.h.


The documentation for this struct was generated from the following file: