bætti við prentskipunum til þess að geta plottað step response

This commit is contained in:
2026-10-01 12:42:35 +00:00
parent bf389cd012
commit e39d9e487e
6 changed files with 160 additions and 38 deletions
+8
View File
@@ -3,9 +3,17 @@
#include "state.h"
#include <stdint.h>
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;