Download the file
  1. #ifndef ROTARY_HANDLER_H
  2. #define ROTARY_HANDLER_H
  3.  
  4. class RotaryEncoderHandler {
  5. public:
  6. virtual void clockwise() = 0;
  7. virtual void counter_clockwise() = 0;
  8. virtual void click() = 0;
  9. };
  10. #endif
  11.