SSD1306 I2C Display Driver
1.2.2
This library is developed to control SSD1306 I2C OLED Display
src
lcd
lcd_common.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2017 Alexey Dynda
3
4
This file is part of SSD1306 library.
5
6
This program is free software: you can redistribute it and/or modify
7
it under the terms of the GNU General Public License as published by
8
the Free Software Foundation, either version 3 of the License, or
9
(at your option) any later version.
10
11
This program is distributed in the hope that it will be useful,
12
but WITHOUT ANY WARRANTY; without even the implied warranty of
13
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14
GNU General Public License for more details.
15
16
You should have received a copy of the GNU General Public License
17
along with this program. If not, see <http://www.gnu.org/licenses/>.
18
*/
23
#ifndef _LCD_COMMON_H_
24
#define _LCD_COMMON_H_
25
26
#include <stdint.h>
27
#ifdef ESP8266
28
#include <pgmspace.h>
29
#else
30
#include <avr/pgmspace.h>
31
#endif
32
33
enum
34
{
36
LCD_TYPE_SSD1306
,
38
LCD_TYPE_PCD8544
,
39
};
40
42
extern
uint8_t
s_displayHeight
;
43
45
extern
uint8_t
s_displayWidth
;
46
48
extern
uint8_t
g_lcd_type
;
49
50
#endif
/* _LCD_COMMON_H_ */
g_lcd_type
uint8_t g_lcd_type
Definition:
ssd1306.cpp:30
s_displayHeight
uint8_t s_displayHeight
Definition:
ssd1306.cpp:28
LCD_TYPE_SSD1306
Definition:
lcd_common.h:36
LCD_TYPE_PCD8544
Definition:
lcd_common.h:38
s_displayWidth
uint8_t s_displayWidth
Definition:
ssd1306.cpp:29
Generated by
1.8.12