summaryrefslogtreecommitdiffstats
path: root/project.h
diff options
context:
space:
mode:
Diffstat (limited to 'project.h')
-rw-r--r--project.h28
1 files changed, 28 insertions, 0 deletions
diff --git a/project.h b/project.h
new file mode 100644
index 0000000..d75338b
--- /dev/null
+++ b/project.h
@@ -0,0 +1,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"