Fabian Schlenz
e2a56d7c29
All checks were successful
continuous-integration/drone/push Build is passing
34 lines
520 B
C
34 lines
520 B
C
#pragma once
|
|
|
|
#include <Arduino.h>
|
|
|
|
extern uint8_t baseHue;
|
|
extern char hostname[30];
|
|
extern uint16_t frame;
|
|
extern unsigned long timer;
|
|
|
|
typedef struct {
|
|
uint8_t width;
|
|
uint8_t height;
|
|
const uint8_t *data;
|
|
bool (*isCharAllowed)(const char);
|
|
uint16_t (*getCharPosition)(const char);
|
|
} Font;
|
|
|
|
typedef struct Vector {
|
|
double x1;
|
|
double x2;
|
|
} Vector;
|
|
|
|
typedef struct Matrix {
|
|
double a11;
|
|
double a12;
|
|
double a21;
|
|
double a22;
|
|
} Matrix;
|
|
|
|
typedef struct {
|
|
uint16_t x;
|
|
uint16_t y;
|
|
} Coords;
|