Structure typedef added for future implementation.
This commit is contained in:
parent
6abbbcf78a
commit
ff3ca89f2e
1 changed files with 19 additions and 0 deletions
19
firmware/type.h
Normal file
19
firmware/type.h
Normal file
|
@ -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 <avr/io.h>
|
||||
|
||||
typedef struct
|
||||
{
|
||||
uint32_t frame: 27;
|
||||
uint32_t level: 2; // 00 01 10
|
||||
uint32_t mode: 3;
|
||||
} cube_t;
|
||||
|
Loading…
Reference in a new issue