From 013174374f87a2c3f9a3427cc63f7211f5bf7fd5 Mon Sep 17 00:00:00 2001 From: Selene ToyKeeper Date: Sun, 17 Sep 2023 06:31:55 -0600 Subject: converted noctigon-m44 build, and greatly reduced flicker with a new ramp and some new hwdef algorithms --- hwdef-noctigon-m44.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'hwdef-noctigon-m44.h') diff --git a/hwdef-noctigon-m44.h b/hwdef-noctigon-m44.h index f69fdd5..d02d8dd 100644 --- a/hwdef-noctigon-m44.h +++ b/hwdef-noctigon-m44.h @@ -163,6 +163,7 @@ inline void hwdef_setup() { // pre-scale for timer: N = 1 // Linear opamp PWM for both main and 2nd LEDs (10-bit) // WGM1[3:0]: 1,0,1,0: PWM, Phase Correct, adjustable (DS table 12-5) + // WGM1[3:0]: 1,1,1,0: PWM, Fast, adjustable (DS table 12-5) // CS1[2:0]: 0,0,1: clk/1 (No prescaling) (DS table 12-6) // COM1A[1:0]: 1,0: PWM OC1A in the normal direction (DS table 12-4) // COM1B[1:0]: 1,0: PWM OC1B in the normal direction (DS table 12-4) @@ -171,7 +172,8 @@ inline void hwdef_setup() { | (1<