_vibro.py 317 B

12345678910
  1. def vibro_set(state: bool) -> bool:
  2. """
  3. Turn vibration on or off. This is a non-blocking operation. The vibration motor will continue to run until you stop it.
  4. :param state: :const:`True` to turn on vibration.
  5. :returns: :const:`True` if vibration is on.
  6. .. versionadded:: 1.0.0
  7. """
  8. pass