-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathLCD.h
More file actions
26 lines (22 loc) · 745 Bytes
/
LCD.h
File metadata and controls
26 lines (22 loc) · 745 Bytes
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
#ifndef __LCD_H__
#define __LCD_H__
/* include all displays here */
#include "displays/ssd1289_lld.h"
#ifdef __cplusplus
extern "C" {
#endif
void lcdInit(void);
void lcdSetArea(uint16_t, uint16_t, uint16_t, uint16_t);
void lcdFillArea(uint16_t, uint16_t, uint16_t, uint16_t, uint16_t);
void lcdClearScreen(uint16_t);
void lcdSetPixel(int, int, uint16_t);
void lcdDemo(void);
void lcdDrawString(uint16_t, uint16_t, const char *, uint16_t, uint8_t);
void lcdDrawChar(uint16_t, uint16_t, const char, uint16_t, uint8_t);
void lcdDrawBitmap(uint16_t x, uint16_t y, uint16_t width, uint16_t height, const unsigned char *bmp);
void lcdDrawLine(int x0, int y0, int x1, int y1,uint16_t colour);
float lcdFPS(void);
#ifdef __cplusplus
}
#endif
#endif