summaryrefslogtreecommitdiffstats
path: root/project.h
blob: d75338b3d1830e0d3c8cb899c1f25b5b565c072d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
#define F_CPU 16000000

#include <stdio.h>
#include <stdint.h>
#include <avr/io.h>
#include <avr/interrupt.h>
#include <avr/pgmspace.h>
#include <util/delay.h>

#include "uart.h"

#define UART_BAUD_RATE 115200

#define WS2812_PORTREG  PORTB
#define WS2812_DDRREG   DDRB
#define WS2812_PIN  1

#include "lib_ws2812.h"

#ifdef PROTOTYPING
#define NOPROTO static
#else
#define NOPROTO
#endif

#define NOUNUSED __attribute__((unused))

#include "prototypes.h"