Changes by last author:
Changed:
injpwm=1E # Injector PWM duty cycle (when current limiting is active) # (set to ~100% no PWM - JJR 03/31 15:15) |
# verify by measuring OC0 with DVM
# [0.4%] unit, so FF is 100% (that measures OC0=0V; since this is before the inverting FETdriver) # 48/256 (=3/16), that measures OC0=5V * (256-48)/256 injpwm=30 # Injector PWM duty cycle (when current limiting is active) |
injpwm6=1E # added Injector PWM duty cycle during low battery voltage (6V) |
injpwm6=40 # added Injector PWM duty cycle during low battery voltage (6V) |
# COMMENT: what are these two variables?
rpmk[0]=0B #12000 rpm/4clyn |
# Constant to calculate RPM:
# 12000 rpm/4clyn = 3000=11*256 + (11*16 +8) =0x0BB8 rpmk[0]=0B |