Initial commit: add stepper controller firmware

This commit is contained in:
toptah
2026-09-14 19:44:52 +02:00
commit f2d60303ee
19 changed files with 794 additions and 0 deletions
+17
View File
@@ -0,0 +1,17 @@
#pragma once
#include <Arduino.h>
#include <ESP8266WebServer.h>
#include <ArduinoOTA.h>
#include "motor/StepperController.h"
class OtaManager {
public:
void begin(const String& hostname, StepperController& motor);
void update();
void handleUpload(ESP8266WebServer& server, HTTPUpload& upload, StepperController& motor);
bool isUpdating() const;
private:
bool updating_ = false;
};