_vibro.py 288 B

12345678
  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. '''
  7. pass