Files
Thomas Roth 5e0eae7036 Init
2020-11-21 15:35:07 +01:00

15 lines
307 B
C

#ifndef _LCD_H_
#define _LCD_H_
#include "stm32h7xx_hal.h"
#include <stdint.h>
extern uint16_t framebuffer[320 * 240] __attribute__((section (".lcd")));
#define GFX_MAX_WIDTH 320
void lcd_init(SPI_HandleTypeDef *spi, LTDC_HandleTypeDef *ltdc);
void lcd_backlight_on();
void lcd_backlight_off();
#endif