some progress

This commit is contained in:
2024-03-08 09:57:47 +01:00
parent 68bb67e9af
commit 40dbb62db7
12 changed files with 172 additions and 64 deletions

23
canvas.h Normal file
View File

@ -0,0 +1,23 @@
#ifndef _CANVAS_H_
#define _CANVAS_H_
#include <stdint.h>
#define CANVAS_WIDTH 10
#define CANVAS_HEIGHT 6
typedef struct {
uint8_t width;
uint8_t height;
uint8_t size;
uint8_t *canvas;
} canvas_t;
void canvasInit();
canvas_t *canvasGet();
void canvasShow();
#endif // _CANVAS_H_