#include "leds_ctrl.h"
#include "sw_ctrl.h"
#include "btn_ctrl.h"
#include "plot.h"
#include "delay.h"
Go to the source code of this file.
|
void | line (int x1, int y1, int x2, int y2, unsigned int color) |
|
void | Rect (int left, int top, int right, int bottom, unsigned int color) |
|
void | RectFill (int left, int top, int right, int bottom, unsigned int color) |
|
void | Circle (int x0, int y0, int radius, unsigned int color) |
|
void | CircleFill (int x0, int y0, int radius, unsigned int color) |
|
void | plot_test () |
|
void | main () |
|
◆ RESOLUTION_X
◆ RESOLUTION_Y
◆ sgn
#define sgn |
( |
|
x | ) |
((x<0)?-1:((x>0)?1:0)) |
◆ Circle()
void Circle |
( |
int |
x0, |
|
|
int |
y0, |
|
|
int |
radius, |
|
|
unsigned int |
color |
|
) |
| |
◆ CircleFill()
void CircleFill |
( |
int |
x0, |
|
|
int |
y0, |
|
|
int |
radius, |
|
|
unsigned int |
color |
|
) |
| |
◆ line()
void line |
( |
int |
x1, |
|
|
int |
y1, |
|
|
int |
x2, |
|
|
int |
y2, |
|
|
unsigned int |
color |
|
) |
| |
◆ main()
◆ plot_test()
Definition at line 124 of file vgatest.c.
References btn_ctrl(), BUTTON_DOWN, BUTTON_UP, Circle(), delay(), k, leds_ctrl(), RESOLUTION_X, RESOLUTION_Y, sw_ctrl(), and x.
◆ Rect()
void Rect |
( |
int |
left, |
|
|
int |
top, |
|
|
int |
right, |
|
|
int |
bottom, |
|
|
unsigned int |
color |
|
) |
| |
◆ RectFill()
void RectFill |
( |
int |
left, |
|
|
int |
top, |
|
|
int |
right, |
|
|
int |
bottom, |
|
|
unsigned int |
color |
|
) |
| |