Files
Geek_Josytick 07a568ff95 Cleanup
Split up main header file into smaller parts
Fixed Collision math
Updated Input
Removed pausing dead code
2021-01-04 01:15:33 +01:00

24 lines
377 B
C

#ifndef _LCD_H_
#define _LCD_H_
#ifdef __cplusplus
extern "C" {
#endif
#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();
#ifdef __cplusplus
}
#endif
#endif