aboutsummaryrefslogtreecommitdiff
path: root/hwdef-Noctigon_K9.3.h
diff options
context:
space:
mode:
authorSelene ToyKeeper2020-10-14 23:17:27 -0600
committerSelene ToyKeeper2020-10-14 23:17:27 -0600
commitdb1c7ef28405c123faaaadb25c8c9b2edeea0d43 (patch)
tree80d41bd8e68c8d9eccc759ae21ebd3515a570b4d /hwdef-Noctigon_K9.3.h
parentconfigured K9.3 cfg (mostly), assigned a model number, fixed typo in hwdef (diff)
downloadanduril-db1c7ef28405c123faaaadb25c8c9b2edeea0d43.tar.gz
anduril-db1c7ef28405c123faaaadb25c8c9b2edeea0d43.tar.bz2
anduril-db1c7ef28405c123faaaadb25c8c9b2edeea0d43.zip
got K9.3 2nd LEDs working (and modified FSM to allow this sort of thing)
added a way to include per-model code overrides added an override mechanism for logic inside set_level() wrote K9.3's set_level() function added TINT_RAMP_TOGGLE_ONLY mode for tint ramping
Diffstat (limited to 'hwdef-Noctigon_K9.3.h')
-rw-r--r--hwdef-Noctigon_K9.3.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/hwdef-Noctigon_K9.3.h b/hwdef-Noctigon_K9.3.h
index d48623a..6032b4c 100644
--- a/hwdef-Noctigon_K9.3.h
+++ b/hwdef-Noctigon_K9.3.h
@@ -40,7 +40,7 @@
#define ATTINY 1634
#include <avr/io.h>
-#define PWM_CHANNELS 2 // 3 actually, but only 2 for main LEDs
+#define PWM_CHANNELS 3 // 2 for main LEDs, 1 for 2nd LEDs
#define PWM_BITS 10 // 0 to 1023 at 4 kHz, not 0 to 255 at 16 kHz
#define PWM_TOP 1023