aboutsummaryrefslogtreecommitdiff
path: root/hwdef-FF_ROT66.h
diff options
context:
space:
mode:
authorSelene ToyKeeper2018-09-06 04:17:47 -0600
committerSelene ToyKeeper2018-09-06 04:17:47 -0600
commite4f70951b651711402c46504e9da08ec3e9a9f10 (patch)
tree234e26298f57e3bf11f7a8bbefede86755999c48 /hwdef-FF_ROT66.h
parentmerged recent anduril updates into rampingiosv3 (and vice-versa) (diff)
parentCalibrated ROT66-219b build better. (diff)
downloadanduril-e4f70951b651711402c46504e9da08ec3e9a9f10.tar.gz
anduril-e4f70951b651711402c46504e9da08ec3e9a9f10.tar.bz2
anduril-e4f70951b651711402c46504e9da08ec3e9a9f10.zip
merged FF ROT66 branch, new hardware target (FF ROT66-219b)
Diffstat (limited to 'hwdef-FF_ROT66.h')
-rw-r--r--hwdef-FF_ROT66.h20
1 files changed, 20 insertions, 0 deletions
diff --git a/hwdef-FF_ROT66.h b/hwdef-FF_ROT66.h
new file mode 100644
index 0000000..49947ab
--- /dev/null
+++ b/hwdef-FF_ROT66.h
@@ -0,0 +1,20 @@
+/* Fireflies ROT66 driver layout
+ */
+// same as a FW3A, basically
+#include "hwdef-FW3A.h"
+
+// ... except the ROT66 has a lighted button
+#ifndef AUXLED_PIN
+#define AUXLED_PIN PB2 // pin 7
+#endif
+
+// ... and no optic nerve
+#ifdef VISION_PIN
+#undef VISION_PIN
+#endif
+
+// average drop across diode on this hardware
+#ifdef VOLTAGE_FUDGE_FACTOR
+#undef VOLTAGE_FUDGE_FACTOR
+#endif
+#define VOLTAGE_FUDGE_FACTOR 7 // add 0.35V