#ifndef LCD_h #define LCD_h #include "stm32f446xx.h" void LCD_init(void); // Umrechnung RGB nach 16-Bit-Farben uint16_t LCD_getColor(uint8_t R, uint8_t G, uint8_t B); // Schreiben eines Pixels (16 Bit Farbe) void LCD_writePixel(uint16_t color); // Adresspointer setzen void LCD_setXY(uint16_t x, uint16_t y); // Adressrange für Rechteck definieren // Adresspointer wird auf obere linke Ecke gesetzt void LCD_setRect(uint16_t x1, uint16_t x2, uint16_t y1, uint16_t y2); /************ Touch Screen *******************/ typedef struct { int16_t x; int16_t y; } xy_t; xy_t LCD_getTouch(void); #endif