From e1104525bc8e17880e83a4a1058291dc0e5e89d7 Mon Sep 17 00:00:00 2001 From: Selene ToyKeeper Date: Thu, 30 Aug 2018 19:47:17 -0600 Subject: First Anduril build for Fireflies ROT66. --- hwdef-FF_ROT66.h | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 hwdef-FF_ROT66.h (limited to 'hwdef-FF_ROT66.h') 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 -- cgit v1.2.3