36 lines
549 B
C
36 lines
549 B
C
/* CTHN.de MiniLEDCube
|
|
*
|
|
* Kai Lauterbach (klaute at web dot de)
|
|
*
|
|
* Based on http://mosfetkiller.de/?s=miniledcube
|
|
*
|
|
* License: General Public License (GPL v3)
|
|
*
|
|
*/
|
|
|
|
#ifndef __main_h__
|
|
#define __main_h__
|
|
|
|
// Includes
|
|
#include "globals.h"
|
|
|
|
//#include "type.h"
|
|
|
|
#include <avr/interrupt.h>
|
|
#include <avr/io.h>
|
|
|
|
// Cube-Data
|
|
uint32_t frame = 0xffffffff;
|
|
// Bit Offset in Cube-Data
|
|
uint8_t level; // Aktive Ebene
|
|
|
|
//cube_t *cube;
|
|
|
|
// Prototypen
|
|
void init(void);
|
|
|
|
extern void init_usb(void);
|
|
extern void usbPoll(void);
|
|
|
|
#endif // __main_h__
|
|
|