pitrix/include/prototypes.h

32 lines
469 B
C
Raw Normal View History

#pragma once
#include <Arduino.h>
extern uint8_t baseHue;
extern char hostname[30];
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 {
2019-06-07 04:24:16 +00:00
double x1;
double x2;
} Vector;
typedef struct Matrix {
2019-06-07 04:24:16 +00:00
double a11;
double a12;
double a21;
double a22;
} Matrix;
2019-05-31 03:45:07 +00:00
typedef struct {
uint16_t x;
uint16_t y;
} Coords;