diff --git a/firmware/type.h b/firmware/type.h new file mode 100644 index 0000000..80996ec --- /dev/null +++ b/firmware/type.h @@ -0,0 +1,19 @@ +/* CTHN.de MiniLEDCube + * + * Kai Lauterbach (klaute at web dot de) + * + * Based on http://mosfetkiller.de/?s=miniledcube + * + * License: General Public License (GPL v3) + * + */ + +#include + +typedef struct +{ + uint32_t frame: 27; + uint32_t level: 2; // 00 01 10 + uint32_t mode: 3; +} cube_t; +