From a01a27d8d2562e08baf7a58a76fc90670cdc2c4e Mon Sep 17 00:00:00 2001 From: Gabriel Hart Date: Tue, 4 Jan 2022 16:56:37 -0600 Subject: Experimental: add optional delay when using LED_ENABLE_PIN to avoid flashes of light --- hwdef-thefreeman-lin16dac.h | 1 + 1 file changed, 1 insertion(+) (limited to 'hwdef-thefreeman-lin16dac.h') diff --git a/hwdef-thefreeman-lin16dac.h b/hwdef-thefreeman-lin16dac.h index 0999c4c..77b9ee0 100644 --- a/hwdef-thefreeman-lin16dac.h +++ b/hwdef-thefreeman-lin16dac.h @@ -43,6 +43,7 @@ Read voltage from VCC pin, has PFET so no drop #define LED_ENABLE_PORT PORTB_OUT #define LED_ENABLE_PIN_LEVEL_MIN 35 #define LED_ENABLE_PIN_LEVEL_MAX 150 +#define LED_ENABLE_DELAY 80 // how many ms to delay turning on the lights after enabling the channel // For turning on and off the op-amp #define LED2_ENABLE_PIN PIN7_bp -- cgit v1.2.3 From 3bfa5f1065bce68e637be0b09089921577e88ce7 Mon Sep 17 00:00:00 2001 From: Gabriel Hart Date: Wed, 5 Jan 2022 09:09:50 -0600 Subject: Experimental: add optional delay when using LED_ENABLE_PIN to avoid flashes of light (this time for LED2_ENABLE pin) --- hwdef-thefreeman-lin16dac.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'hwdef-thefreeman-lin16dac.h') diff --git a/hwdef-thefreeman-lin16dac.h b/hwdef-thefreeman-lin16dac.h index 77b9ee0..adb7886 100644 --- a/hwdef-thefreeman-lin16dac.h +++ b/hwdef-thefreeman-lin16dac.h @@ -43,12 +43,11 @@ Read voltage from VCC pin, has PFET so no drop #define LED_ENABLE_PORT PORTB_OUT #define LED_ENABLE_PIN_LEVEL_MIN 35 #define LED_ENABLE_PIN_LEVEL_MAX 150 -#define LED_ENABLE_DELAY 80 // how many ms to delay turning on the lights after enabling the channel // For turning on and off the op-amp #define LED2_ENABLE_PIN PIN7_bp #define LED2_ENABLE_PORT PORTA_OUT - +#define LED2_ENABLE_DELAY 80 // how many ms to delay turning on the lights after enabling the channel // average drop across diode on this hardware #ifndef VOLTAGE_FUDGE_FACTOR -- cgit v1.2.3 From 4f6ae9925fefed4694bc87584040edc5426cdd94 Mon Sep 17 00:00:00 2001 From: Selene ToyKeeper Date: Thu, 14 Apr 2022 20:34:21 -0600 Subject: moved fuses from cfg to hwdef, renamed LED_EN/DISABLE_DELAY to LED_ON/OFF_DELAY (also really should rename LED_* to CH1_* and LED2_* to CH2_*) --- hwdef-thefreeman-lin16dac.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'hwdef-thefreeman-lin16dac.h') diff --git a/hwdef-thefreeman-lin16dac.h b/hwdef-thefreeman-lin16dac.h index adb7886..9d6b145 100644 --- a/hwdef-thefreeman-lin16dac.h +++ b/hwdef-thefreeman-lin16dac.h @@ -47,7 +47,7 @@ Read voltage from VCC pin, has PFET so no drop // For turning on and off the op-amp #define LED2_ENABLE_PIN PIN7_bp #define LED2_ENABLE_PORT PORTA_OUT -#define LED2_ENABLE_DELAY 80 // how many ms to delay turning on the lights after enabling the channel +#define LED2_ON_DELAY 80 // how many ms to delay turning on the lights after enabling the channel // average drop across diode on this hardware #ifndef VOLTAGE_FUDGE_FACTOR -- cgit v1.2.3