Frästisch mit elektronischer Höhenverstellung mittels Schrittmotoren.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

ValueMode.h 474B

1234567891011121314151617181920212223242526272829303132
  1. /*
  2. * ValueMode.h
  3. *
  4. * Created on: 23.02.2022
  5. * Author: FSmilari
  6. */
  7. #ifndef VALUEMODE_H_
  8. #define VALUEMODE_H_
  9. #include <stdint.h>
  10. #include <WString.h>
  11. enum Mode {
  12. SLOW, FAST
  13. };
  14. class ValueMode {
  15. private:
  16. Mode valueMode;
  17. public:
  18. ValueMode(Mode mode);
  19. String toString();
  20. Mode getValueMode() const;
  21. void setValueMode(Mode valueMode);
  22. bool equals(ValueMode valueMode);
  23. bool isSlow();
  24. };
  25. #endif /* VALUEMODE_H_ */