mirror of
https://github.com/ghidraninja/game-and-watch-doom.git
synced 2025-12-18 19:16:00 +01:00
14 lines
222 B
C
14 lines
222 B
C
#ifndef _LCD_H_
|
|
#define _LCD_H_
|
|
|
|
#include "stm32h7xx_hal.h"
|
|
#include <stdint.h>
|
|
|
|
extern uint16_t framebuffer[320 * 240];
|
|
|
|
#define GFX_MAX_WIDTH 320
|
|
|
|
void lcd_init(SPI_HandleTypeDef *spi, LTDC_HandleTypeDef *ltdc);
|
|
|
|
#endif
|