Closed JohnySeven closed 3 years ago
@ba58smith I've resolved all conflicts after merging sound_player branch. It's ready to be merged.
@JohnySeven , resolve my question above, and change the Version number to 0.0.3 (in localizationl.h), then you can merge it.
Version updated and I've responded to your comment. Merging!
I've added new methods into
Hardware
class:void Hardware::vibrate(int duration)
- to vibrate for specified duration using pattern 100 ms on/100 ms offvoid Hardware::vibrate(int pattern[], int repeat)
- to vibrate using pattern defined in pattern and number of repeats.Pattern is int array and contains sequence of vibration on and off intervals, the last interval must be 0 to correctly detect end of pattern. For example:
int emergency_pattern[] = { 750, 250, 250, 250, 0}