oled

Dependents:   rsm_ver_2_1_3oled

Committer:
mijimy
Date:
Sun Aug 27 06:12:47 2017 +0000
Revision:
0:847d62ecf52e
oled;

Who changed what in which revision?

UserRevisionLine numberNew contents of line
mijimy 0:847d62ecf52e 1 //
mijimy 0:847d62ecf52e 2 // SSD1306Z LCD Driver: 0.96" OLED LY096BG30
mijimy 0:847d62ecf52e 3 //
mijimy 0:847d62ecf52e 4
mijimy 0:847d62ecf52e 5
mijimy 0:847d62ecf52e 6 //#define LCD_I2C_SLA 0x3c
mijimy 0:847d62ecf52e 7 #define LCD_I2C_SLA 0x78
mijimy 0:847d62ecf52e 8
mijimy 0:847d62ecf52e 9 #define LCD_Xmax 128
mijimy 0:847d62ecf52e 10 #define LCD_Ymax 64
mijimy 0:847d62ecf52e 11 #define FG_COLOR 0xFFFF
mijimy 0:847d62ecf52e 12 #define BG_COLOR 0x0000
mijimy 0:847d62ecf52e 13
mijimy 0:847d62ecf52e 14
mijimy 0:847d62ecf52e 15 extern void Init_LCD(void);
mijimy 0:847d62ecf52e 16 extern void clear_LCD(void);
mijimy 0:847d62ecf52e 17 extern void print_C(uint8_t Line, uint8_t Col, char ascii);
mijimy 0:847d62ecf52e 18 extern void printC_5x7(int16_t x, int16_t y, unsigned char ascii_code);
mijimy 0:847d62ecf52e 19 extern void print_Line(uint8_t line, char text[]);
mijimy 0:847d62ecf52e 20 //extern void print_Line(uint8_t line, char *Text);
mijimy 0:847d62ecf52e 21 extern void printS(int16_t x, int16_t y, char text[]);
mijimy 0:847d62ecf52e 22 extern void printS_5x7(int16_t x, int16_t y, char text[]);
mijimy 0:847d62ecf52e 23
mijimy 0:847d62ecf52e 24 extern void draw_Pixel(int16_t x, int16_t y, uint16_t fgColor, uint16_t bgColor);
mijimy 0:847d62ecf52e 25 extern void draw_Bmp8x8(int16_t x, int16_t y, uint16_t fgColor, uint16_t bgColor, unsigned char bitmap[]);
mijimy 0:847d62ecf52e 26 extern void draw_Bmp32x8(int16_t x, int16_t y, uint16_t fgColor, uint16_t bgColor, unsigned char bitmap[]);
mijimy 0:847d62ecf52e 27 extern void draw_Bmp120x8(int16_t x, int16_t y, uint16_t fgColor, uint16_t bgColor, unsigned char bitmap[]);
mijimy 0:847d62ecf52e 28 extern void draw_Bmp8x16(int16_t x, int16_t y, uint16_t fgColor, uint16_t bgColor, unsigned char bitmap[]);
mijimy 0:847d62ecf52e 29 extern void draw_Bmp16x8(int16_t x, int16_t y, uint16_t fgColor, uint16_t bgColor, unsigned char bitmap[]);
mijimy 0:847d62ecf52e 30 extern void draw_Bmp16x16(int16_t x, int16_t y, uint16_t fgColor, uint16_t bgColor, unsigned char bitmap[]);
mijimy 0:847d62ecf52e 31 extern void draw_Bmp16x24(int16_t x, int16_t y, uint16_t fgColor, uint16_t bgColor, unsigned char bitmap[]);
mijimy 0:847d62ecf52e 32 extern void draw_Bmp16x32(int16_t x, int16_t y, uint16_t fgColor, uint16_t bgColor, unsigned char bitmap[]);
mijimy 0:847d62ecf52e 33 extern void draw_Bmp16x40(int16_t x, int16_t y, uint16_t fgColor, uint16_t bgColor, unsigned char bitmap[]);
mijimy 0:847d62ecf52e 34 extern void draw_Bmp16x48(int16_t x, int16_t y, uint16_t fgColor, uint16_t bgColor, unsigned char bitmap[]);
mijimy 0:847d62ecf52e 35 extern void draw_Bmp16x64(int16_t x, int16_t y, uint16_t fgColor, uint16_t bgColor, unsigned char bitmap[]);
mijimy 0:847d62ecf52e 36 extern void draw_Bmp32x16(int16_t x, int16_t y, uint16_t fgColor, uint16_t bgColor, unsigned char bitmap[]);
mijimy 0:847d62ecf52e 37 extern void draw_Bmp32x32(int16_t x, int16_t y, uint16_t fgColor, uint16_t bgColor, unsigned char bitmap[]);
mijimy 0:847d62ecf52e 38 extern void draw_Bmp32x48(int16_t x, int16_t y, uint16_t fgColor, uint16_t bgColor, unsigned char bitmap[]);
mijimy 0:847d62ecf52e 39 extern void draw_Bmp32x64(int16_t x, int16_t y, uint16_t fgColor, uint16_t bgColor, unsigned char bitmap[]);
mijimy 0:847d62ecf52e 40 extern void draw_Bmp64x64(int16_t x, int16_t y, uint16_t fgColor, uint16_t bgColor, unsigned char bitmap[]);
mijimy 0:847d62ecf52e 41 extern void draw_LCD(const unsigned char *buffer);
mijimy 0:847d62ecf52e 42