aboutsummaryrefslogtreecommitdiff
path: root/shared/busaddr.h
diff options
context:
space:
mode:
Diffstat (limited to 'shared/busaddr.h')
-rw-r--r--shared/busaddr.h20
1 files changed, 20 insertions, 0 deletions
diff --git a/shared/busaddr.h b/shared/busaddr.h
new file mode 100644
index 0000000..5879afe
--- /dev/null
+++ b/shared/busaddr.h
@@ -0,0 +1,20 @@
+#pragma once
+
+/** \file bus address reference */
+
+// Adafruit NeoTrellis modules
+#define BUSADDR_ADA_NEO_1 0x2E
+#define BUSADDR_ADA_NEO_2 0x2F
+#define BUSADDR_ADA_NEO_3 0x30
+#define BUSADDR_ADA_NEO_4 0x32
+
+// TODO: ???
+#define BUSADDR_MOD_NEOTRELLIS 0
+#define BUSADDR_MOD_SOFTWARE 0
+#define BUSADDR_MOD_HARDWARE 0
+#define BUSADDR_MOD_VAULT 0
+#define BUSADDR_MOD_AUTOMATION 0
+
+// main controller
+#define BUSADDR_MAIN 0x00
+