aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSelene ToyKeeper2021-09-08 20:45:20 -0600
committerSelene ToyKeeper2021-09-08 20:45:20 -0600
commitc89d9f41b2dabca6bce12bc2facec60182354ddb (patch)
treec865b922b3a119214507b521e733ac143c42590c
parentfixed outdated comment in KR4 hwdef (diff)
downloadanduril-c89d9f41b2dabca6bce12bc2facec60182354ddb.tar.gz
anduril-c89d9f41b2dabca6bce12bc2facec60182354ddb.tar.bz2
anduril-c89d9f41b2dabca6bce12bc2facec60182354ddb.zip
copied Q8 hwdef to LT1 so I can improve it
-rw-r--r--hwdef-BLF_LT1.h21
1 files changed, 21 insertions, 0 deletions
diff --git a/hwdef-BLF_LT1.h b/hwdef-BLF_LT1.h
new file mode 100644
index 0000000..5dac5d2
--- /dev/null
+++ b/hwdef-BLF_LT1.h
@@ -0,0 +1,21 @@
+#ifndef HWDEF_BLF_Q8_H
+#define HWDEF_BLF_Q8_H
+
+/* BLF Q8 driver layout
+ * Q8 driver is the same as a D4, basically
+ */
+
+// ... except the Q8 has a lighted button
+#ifndef AUXLED_PIN
+#define AUXLED_PIN PB4 // pin 3
+#endif
+
+// ... and slightly different calibration
+#ifndef VOLTAGE_FUDGE_FACTOR
+#define VOLTAGE_FUDGE_FACTOR 7 // add 0.35V
+#endif
+
+// Q8 driver is the same as a D4, basically
+#include "hwdef-Emisar_D4.h"
+
+#endif