SSD1306 I2C Display Driver  1.2.2
This library is developed to control SSD1306 I2C OLED Display
ssd1306_interface.c
1 /*
2  Copyright (C) 2016-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 */
19 
20 #include "ssd1306_interface.h"
21 
22 #include <stddef.h>
23 
27 void (*ssd1306_startTransmission)() = NULL;
28 
32 void (*ssd1306_endTransmission)() = NULL;
33 
38 void (*ssd1306_sendByte)(uint8_t data) = NULL;
39 
40 void (*ssd1306_commandStart)() = NULL;
41 
42 void (*ssd1306_dataStart)() = NULL;
43 
44 void ssd1306_sendCommand(uint8_t command)
45 {
47  ssd1306_sendByte(command);
49 }
50 
void(* ssd1306_startTransmission)()
void(* ssd1306_endTransmission)()
void(* ssd1306_sendByte)(uint8_t data)
void ssd1306_sendCommand(uint8_t command)
void(* ssd1306_dataStart)()
void(* ssd1306_commandStart)()