X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=bertos%2Fdrv%2Flcd_ili9225.h;h=3be2f41fb0ec6225c41e599ca9b42a814dc25674;hb=41718ab2098bd5640da265c34f1ecb79a4123d39;hp=13e013017a3d8b96d2bef2fc750a632b5bb960a0;hpb=e0a81da777b4dd0dd962e366c61de763ccea510c;p=bertos.git diff --git a/bertos/drv/lcd_ili9225.h b/bertos/drv/lcd_ili9225.h index 13e01301..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,17 +46,16 @@ #define LCD_WIDTH 176 #define LCD_HEIGHT 220 -#define LCD_BACKLIGHT_MAX 15 // Fwd decl -struct Serial; +struct KFile; -void lcd_ili9225_init(struct Serial *spi); +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 */