ECE4760 - Laser Projector (ipb7, jcc384, pfc38)  1
Raster Laser Projection
main.c File Reference

Entry point of ECE4760 Laser HID project. More...

#include "include.h"
#include "parameters.h"
#include "config.h"
#include "pt_cornell_1_2_1.h"
#include "projector.h"
#include "rendering.h"

Go to the source code of this file.

Functions

int main (void)
 

Detailed Description

Entry point of ECE4760 Laser HID project.

Author
Istvan Burbank, Peter Friend, James Cassell
Date
2016-11-01 Resources:

Pinout:

Definition in file main.c.

Function Documentation

§ main()

int main ( void  )

Definition at line 74 of file main.c.

74  {
76  /* Set Up Projector */
78 
80 
82  /* Setup system wide interrupts */
84 
85  INTEnableSystemMultiVectoredInt();
86 
88  /* Run the scheduler */
90 
91  while (1) {
92  rendering_fillRect(0, 0,
98  rendering_fillRect((IMAGE_WIDTH / 3) * 2, 0,
101  }
102 } // main
struct color const color_purest_blue
Maximum intensity blue, no other colors.
Definition: color.c:44
#define IMAGE_HEIGHT
Definition: parameters.h:18
struct color const color_purest_green
Maximum intensity green, no other colors.
Definition: color.c:38
void projector_init()
Initialize projector peripherals, variables etc. MUST be called before calling any other projector fu...
Definition: projector.c:123
void rendering_fillRect(short x, short y, short w, short h, struct color color)
Definition: rendering.c:653
#define IMAGE_WIDTH
Definition: parameters.h:19
struct color const color_purest_red
Maximum intensity red, no other colors.
Definition: color.c:32