summaryrefslogtreecommitdiff
path: root/src/components/motor/MotorController.h
blob: 9ce91c52960437a961e0aea67e1d0fa119b27536 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#pragma once

#include <cstdint>
#include "app_timer.h"

namespace Pinetime {
  namespace Controllers {
    static constexpr uint8_t pinMotor = 16;

    class MotorController {
      public:
        void Init();
        void SetDuration(uint8_t motorDuration);

      private:
    };
  }
}