add comment

master
Cole Deck 2 years ago
parent 9fb38a8a10
commit 977b922552

@ -84,7 +84,7 @@ class ServoKit:
#i2c: Optional[I2C] = None, #i2c: Optional[I2C] = None,
address: str = "/dev/ttyACM0", address: str = "/dev/ttyACM0",
reference_clock_speed: int = 25000000, 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: ) -> None:
if channels not in [6, 12, 18, 24]: if channels not in [6, 12, 18, 24]:
raise ValueError("servo_channels must be 6, 12, 18, 24!") raise ValueError("servo_channels must be 6, 12, 18, 24!")

Loading…
Cancel
Save