From 7ce31f74f19b943b43d1f65ad778f68b9820ef38 Mon Sep 17 00:00:00 2001 From: thiswillbeyourgithub Date: Mon, 13 Jun 2022 21:06:11 +0200 Subject: [PATCH] new: ramp up over 60s instead of 10 --- SleepTk.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/SleepTk.py b/SleepTk.py index 22b6cbe..56bbf39 100644 --- a/SleepTk.py +++ b/SleepTk.py @@ -593,9 +593,9 @@ on.".format(h, m, _BATTERY_THRESHOLD)}) wasp.system.switch(self) if self._page == _RINGING: wasp.system.keep_awake() - # in 10 vibrations, ramp up from subtle to strong: - wasp.watch.vibrator.pulse(duty=max(80 - 6 * self._n_vibration, 20), - ms=min(100 + 40 * self._n_vibration, 500)) + # in 60 vibrations, ramp up from subtle to strong: + wasp.watch.vibrator.pulse(duty=max(80 - 1 * self._n_vibration, 20), + ms=min(100 + 6 * self._n_vibration, 500)) self._n_vibration += 1 elif self._track_HR_once: wasp.watch.hrs.enable()