debug speed control algorithm #4

This commit is contained in:
Jan Beníček 2025-01-15 08:58:29 +01:00
parent 4a439fabdc
commit ad63eb12c4

View file

@ -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():