diff options
| author | Selene ToyKeeper | 2023-10-29 13:19:38 -0600 |
|---|---|---|
| committer | Selene ToyKeeper | 2023-10-29 13:19:38 -0600 |
| commit | 4aec487ea7d03e9554ebbe8f50e72235bf6f2e6e (patch) | |
| tree | 97dc4d4f8e52ee560ed65ba98c33e08ff3f4f2fa /hwdef-noctigon-m44.h | |
| parent | converted noctigon-dm11-boost to use PWM+DSM, and recalibrated timing for del... (diff) | |
| download | anduril-4aec487ea7d03e9554ebbe8f50e72235bf6f2e6e.tar.gz anduril-4aec487ea7d03e9554ebbe8f50e72235bf6f2e6e.tar.bz2 anduril-4aec487ea7d03e9554ebbe8f50e72235bf6f2e6e.zip | |
applied new delay factor to other DSM builds, and some new DSM_* defines
Diffstat (limited to '')
| -rw-r--r-- | hwdef-noctigon-m44.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/hwdef-noctigon-m44.h b/hwdef-noctigon-m44.h index 094e555..5658c9f 100644 --- a/hwdef-noctigon-m44.h +++ b/hwdef-noctigon-m44.h @@ -85,6 +85,8 @@ enum channel_modes_e { #define DSM_INTCTRL TIMSK #define DSM_OVF_bm (1<<TOIE1) +#define DELAY_FACTOR 90 // less time in delay() because more time spent in interrupts + // 1st channel (8 LEDs) uint16_t ch1_dsm_lvl; uint8_t ch1_pwm, ch1_dsm; |
