2011-12-09 23:15:06 +01:00
|
|
|
/* CTHN.de MiniLEDCube
|
|
|
|
*
|
|
|
|
* Kai Lauterbach (klaute at web dot de)
|
|
|
|
*
|
|
|
|
* License: General Public License (GPL v3)
|
|
|
|
*
|
|
|
|
*/
|
|
|
|
|
2011-10-19 00:04:59 +02:00
|
|
|
#define F_CPU 12000000UL
|
|
|
|
|
2011-12-05 22:17:00 +01:00
|
|
|
// Bitshifting
|
2011-10-19 00:04:59 +02:00
|
|
|
#define set_bit(var, bit) ((var) |= (1 << (bit)))
|
|
|
|
#define clear_bit(var, bit) ((var) &= (unsigned)~(1 << (bit)))
|
|
|
|
|