InfiniTime/src/components/motor/MotorController.h
Joaquim 1d3742e14f Big UI and navigation Rewrite
new navigation
add some color to the apps
redesign menus
new settings menu
new quick settings
code clean up
size reduction by converting navigation images to font
and more...
2021-04-04 03:08:51 +01:00

23 lines
500 B
C++

#pragma once
#include <cstdint>
#include "app_timer.h"
#include "components/settings/Settings.h"
namespace Pinetime {
namespace Controllers {
static constexpr uint8_t pinMotor = 16;
class MotorController {
public:
MotorController( Controllers::Settings &settingsController );
void Init();
void SetDuration(uint8_t motorDuration);
private:
Controllers::Settings& settingsController;
static void vibrate(void * p_context);
};
}
}