HardwareDriver/stepper/ssd1306.h

23 lines
415 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
#ifdef __cplusplus
extern "C"{
#endif
extern void Init_LCD(void);
extern void clear_LCD(void);
extern void print_LCD(unsigned char *buffer);
extern void print_Line(unsigned char Line, char Text[]);
#ifdef __cplusplus
}
#endif
#endif