-
Notifications
You must be signed in to change notification settings - Fork 0
/
OledGrph.h
66 lines (50 loc) · 2.42 KB
/
OledGrph.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
/************************************************************************/
/* */
/* OledGrph.h -- Declarations for OLED Graphics Routines */
/* */
/************************************************************************/
/* Author: Gene Apperson */
/* Copyright 2011, Digilent Inc. */
/************************************************************************/
/* File Description: */
/* */
/* */
/************************************************************************/
/* Revision History: */
/* */
/* 06/03/2011(GeneA): created */
/* */
/************************************************************************/
/* ------------------------------------------------------------ */
/* Miscellaneous Declarations */
/* ------------------------------------------------------------ */
/* ------------------------------------------------------------ */
/* General Type Declarations */
/* ------------------------------------------------------------ */
/* ------------------------------------------------------------ */
/* Object Class Declarations */
/* ------------------------------------------------------------ */
/* ------------------------------------------------------------ */
/* Variable Declarations */
/* ------------------------------------------------------------ */
/* ------------------------------------------------------------ */
/* Procedure Declarations */
/* ------------------------------------------------------------ */
void OledSetDrawColor(unsigned char clr);
void OledSetDrawMode(int mod);
int OledGetDrawMode();
unsigned char * OledGetStdPattern(int ipat);
void OledSetFillPattern(unsigned char * pbPat);
void OledMoveTo(int xco, int yco);
void OledGetPos(int * pxco, int * pyco);
void OledDrawPixel();
unsigned char OledGetPixel();
void OledLineTo(int xco, int yco);
void OledDrawRect(int xco, int yco);
void OledFillRect(int xco, int yco);
void OledGetBmp(int dxco, int dyco, unsigned char * pbBmp);
void OledPutBmp(int dxco, int dyco, unsigned char * pbBmp);
void OledDrawChar(char ch);
void OledDrawString(char * sz);
/* ------------------------------------------------------------ */
/************************************************************************/