From c89d9f41b2dabca6bce12bc2facec60182354ddb Mon Sep 17 00:00:00 2001 From: Selene ToyKeeper Date: Wed, 8 Sep 2021 20:45:20 -0600 Subject: copied Q8 hwdef to LT1 so I can improve it --- hwdef-BLF_LT1.h | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 hwdef-BLF_LT1.h 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 -- cgit v1.2.3