debug speed control algorithm #4
This commit is contained in:
parent
4a439fabdc
commit
ad63eb12c4
1 changed files with 1 additions and 0 deletions
|
@ -7,6 +7,7 @@ from scripts.speed_controller import rpm_control
|
|||
pulses_per_rotation = 4
|
||||
reader = Button(4, pull_up=False, bounce_time=0.0005)
|
||||
set_variable("speed_reader_last_impulse_time", datetime.datetime.now(), False)
|
||||
set_variable("actual_rpm_unfiltered", 0, False)
|
||||
|
||||
|
||||
def event():
|
||||
|
|
Loading…
Add table
Reference in a new issue