aboutsummaryrefslogtreecommitdiff
path: root/host/config.h
diff options
context:
space:
mode:
authorjaseg <jaseg@jaseg.net>2014-02-01 22:07:03 +0100
committerjaseg <jaseg@jaseg.net>2014-02-01 22:07:03 +0100
commit809f8ac2e0fc17e956022051782a3f2203cdbfb4 (patch)
treeb1c2dddd621348d5c02d85e29323365b9d33d70e /host/config.h
parent5a77d3a0e0a24c2c637aec0195919a13d42ac769 (diff)
downloadmatelight-809f8ac2e0fc17e956022051782a3f2203cdbfb4.tar.gz
matelight-809f8ac2e0fc17e956022051782a3f2203cdbfb4.tar.bz2
matelight-809f8ac2e0fc17e956022051782a3f2203cdbfb4.zip
Working on the new UDP protocol
Diffstat (limited to 'host/config.h')
-rw-r--r--host/config.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/host/config.h b/host/config.h
new file mode 100644
index 0000000..64a792c
--- /dev/null
+++ b/host/config.h
@@ -0,0 +1,12 @@
+#ifndef __CONFIG_H__
+#define __CONFIG_H__
+
+#define DISPLAY_WIDTH 40
+#define DISPLAY_HEIGHT 16
+#define FRAME_TIMEOUT 5000 /* ms */
+#define UDP_PORT 2323
+#define FRAMERATE 20 /* fps */
+#define TEXT_LOOP_COUNT 3
+#define TEXT_SCROLL_SPEED 3
+
+#endif//__CONFIG_H__