#ifndef OPERATIONAL_STATE_H #define OPERATIONAL_STATE_H #include "state.h" #include class OperationalState : public State { private: static constexpr double SAMPLE_PERIOD_MS = 4.0; // uint32_t svo teljarinn flæði ekki yfir eftir ~4 mín (eins og uint16_t) uint32_t sample_count = 0; public: void enter() override; void update() override; void command(char c) override; void exit() override; }; #endif