diff options
| author | Selene ToyKeeper | 2021-08-12 05:32:51 -0600 |
|---|---|---|
| committer | Selene ToyKeeper | 2021-08-12 05:32:51 -0600 |
| commit | 73b67cccbe050be9e7e7ea671ffbbdd1d6f14f61 (patch) | |
| tree | f81c6bd9c835cf16d563c1b4436b6fe76c62e4c7 /bin | |
| parent | changed Noctigon KR4 from fixed to dynamic PWM TOP value, for later use (diff) | |
| download | anduril-73b67cccbe050be9e7e7ea671ffbbdd1d6f14f61.tar.gz anduril-73b67cccbe050be9e7e7ea671ffbbdd1d6f14f61.tar.bz2 anduril-73b67cccbe050be9e7e7ea671ffbbdd1d6f14f61.zip | |
got PFM / dynamic PWM actually working on Noctigon KR4
(and also added "jump start moon" to it)
(and generally finished adding dynamic PWM support to FSM)
Diffstat (limited to 'bin')
| -rwxr-xr-x | bin/level_calc.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/level_calc.py b/bin/level_calc.py index e194331..acac332 100755 --- a/bin/level_calc.py +++ b/bin/level_calc.py @@ -16,9 +16,9 @@ dyn_pwm = False def main(args): """Calculates PWM levels for visually-linear steps. """ - pwm_arg = str(max_pwm) cli_answers = [] global max_pwm, max_pwms, dyn_pwm + pwm_arg = str(max_pwm) i = 0 while i < len(args): |
