add comment

This commit is contained in:
Cole Deck 2022-10-21 21:54:50 -05:00
parent 9fb38a8a10
commit 977b922552

View File

@ -84,7 +84,7 @@ class ServoKit:
#i2c: Optional[I2C] = None,
address: str = "/dev/ttyACM0",
reference_clock_speed: int = 25000000,
frequency: int = 50 # actually, device ID over serial pololu protocol
frequency: int = 50 # actually, device ID over serial pololu protocol. using existing var names for full compatibility!
) -> None:
if channels not in [6, 12, 18, 24]:
raise ValueError("servo_channels must be 6, 12, 18, 24!")