api for drawing snake on a uVGA II

Dependents:   snake

draw.h

Committer:
lucoby
Date:
2012-10-11
Revision:
1:2e528b145987
Parent:
0:06f3e47afa60

File content as of revision 1:2e528b145987:

#ifndef DRAW_H
#define DRAW_H

#define SIZE_X  479
#define SIZE_Y  639

void drawSetup();
void clearscr();
void drawPixel(int row, int col, int color);
void drawSnake(int row, int col);
void drawApple(int row, int col);
void drawBlank(int row, int col);
void drawScore(int score);

#endif