mini-led-cube/firmware/globals.h
2011-12-10 00:50:28 +01:00

14 lines
290 B
C

/* CTHN.de MiniLEDCube
*
* Kai Lauterbach (klaute at web dot de)
*
* License: General Public License (GPL v3)
*
*/
#define F_CPU 12000000UL
// Bitshifting
#define set_bit(var, bit) ((var) |= (1 << (bit)))
#define clear_bit(var, bit) ((var) &= (unsigned)~(1 << (bit)))