ECE4760 - Laser Projector (ipb7, jcc384, pfc38)
1
Raster Laser Projection
|
Go to the source code of this file.
Functions | |
void | projector_init (void) |
Initialize projector peripherals, variables etc. MUST be called before calling any other projector functions! More... | |
void | projector_set_pixel (struct color const color, unsigned int x, unsigned int y) |
Set the color of a pixel at the specified location. More... | |
void projector_init | ( | void | ) |
Initialize projector peripherals, variables etc. MUST be called before calling any other projector functions!
Definition at line 123 of file projector.c.
void projector_set_pixel | ( | struct color const | color, |
unsigned int | x, | ||
unsigned int | y | ||
) |
Set the color of a pixel at the specified location.
Once a pixels value is changed, the new value will be projected the next time the pixel is output (there is no v-sync).
color | Color to be displayed |
x | Number of pixels from left side |
y | Number of pixels from the top |
Definition at line 205 of file projector.c.