blob: 9d7f83f3310197e5f9a76f4023a49df1c34c8410 (
plain)
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 KS0108_LCD_H_
#define KS0108_LCD_H_
#include "util.h"
#include "bitmap.h"
enum ks0108_params {
/** LCD module width, in pixels. */
KS0108_WIDTH = 128,
/** LCD module height, in pixels. */
KS0108_HEIGHT = 64,
/** Number of width pixels per chip. */
KS0108_WIDTHPIX_PER_CHIP = 64,
/** Number of chips on the LCD module. */
KS0108_NR_CHIPS = KS0108_WIDTH / KS0108_WIDTHPIX_PER_CHIP,
};
void ks0108_draw_bitmap(const struct bitmap *bitmap,
uint8_t x, uint8_t y);
void ks0108_init(void);
#endif /* KS0108_LCD_H_ */
|