/* 
 * File:  graphics.h
 * Project: Helmet.X
 * Author: Claire Chen and Mark Zhao
 */

#ifndef GRAPHICS_H
#define	GRAPHICS_H

//Graphics libraries
#include "tft_master.h"
#include "tft_gfx.h"
#include <math.h>

#define MAX_DIST 360
#define MIDDLE_X 160
#define INCREMENT_DEG 15
#define CIRCLE_RADIUS 160.0

void draw_sweep(unsigned int dist, unsigned int angle);
unsigned short get_color(unsigned char red, unsigned char green, unsigned char blue);

#endif	/* GRAPHICS_H */

