diff options
Diffstat (limited to 'src/components/motor/MotorController.h')
| -rw-r--r-- | src/components/motor/MotorController.h | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/src/components/motor/MotorController.h b/src/components/motor/MotorController.h new file mode 100644 index 0000000..01fe930 --- /dev/null +++ b/src/components/motor/MotorController.h @@ -0,0 +1,20 @@ +#pragma once + +#include <cstdint> + +namespace Pinetime { + namespace Controllers { + static constexpr uint8_t pinMotor = 16; + + class MotorController { + public: + void Init(); + void SetDuration(uint8_t motorDuration); + + APP_TIMER_DEF(vibTimer); + + private: + + }; + } +}
\ No newline at end of file |
