You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In edgepi_pwm.py, In set_config, duty_cycle and frequency should both be float. This should be reflected in both the type hints and the docstring. Currently, the type hints have duty_cycle as an int and frequency as a float, while the docstring has both as an int. The docstring should also change the parameter bounds from 0-100 to 0-1 to be consistent with _set_duty_cycle.
The text was updated successfully, but these errors were encountered:
In edgepi_pwm.py, In
set_config
,duty_cycle
andfrequency
should both be float. This should be reflected in both the type hints and the docstring. Currently, the type hints haveduty_cycle
as an int andfrequency
as a float, while the docstring has both as an int. The docstring should also change the parameter bounds from 0-100 to 0-1 to be consistent with_set_duty_cycle
.The text was updated successfully, but these errors were encountered: