HardwareDriver/OLED/M451/OLED_TEST/ssd1306.h

16 lines
292 B
C

//
// LY096BG30 : 0.96" OLED
//
#ifndef __SSD_1306__
#define __SSD_1306__
#define LCD_I2C_SLA 0x78
#define LCD_I2C_PORT I2C0
#define LCD_Xmax 128
#define LCD_Ymax 64
extern void Init_LCD(void);
extern void clear_LCD(void);
extern void print_LCD(unsigned char *buffer);
#endif