X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=bertos%2Fdrv%2Flcd_ili9225.h;h=3be2f41fb0ec6225c41e599ca9b42a814dc25674;hb=4446c1118772ed59e7d5d1f895952441aacb7b0f;hp=8df00aa18cf2bd5a679272fbcf7ef6810b4848e6;hpb=b73892eb6012e8f343ddbe74525bb414808e94b5;p=bertos.git diff --git a/bertos/drv/lcd_ili9225.h b/bertos/drv/lcd_ili9225.h index 8df00aa1..3be2f41f 100644 --- a/bertos/drv/lcd_ili9225.h +++ b/bertos/drv/lcd_ili9225.h @@ -30,10 +30,11 @@ * * --> * - * \brief ILI9225B 176x220 graphic driver + * \brief ILI9225B 4 wire interface graphic driver * * $WIZ$ module_name = "lcd_ili9225" * $WIZ$ module_hw = "bertos/hw/hw_ili9225.h" + * $WIZ$ module_depends = "timer", "kfile" */ #ifndef LCD_ILI9225_H @@ -45,7 +46,6 @@ #define LCD_WIDTH 176 #define LCD_HEIGHT 220 -#define LCD_BACKLIGHT_MAX 15 // Fwd decl struct KFile; @@ -53,9 +53,9 @@ struct KFile; void lcd_ili9225_init(struct KFile *spi); void lcd_ili9225_on(void); void lcd_ili9225_off(void); -void lcd_ili9225_backlight(unsigned level); void lcd_ili9225_blitRaw(const uint8_t *data, uint8_t x, uint8_t y, uint8_t width, uint8_t height); void lcd_ili9225_blitBitmap(const Bitmap *bm); +void lcd_ili9225_blitBitmap24(int x, int y, int width, int height, const char *bmp); #endif /* LCD_ILI9225_H */