Přeskočit obsah

File AppFablab.hpp

File List > apps > AppFablab.hpp

Go to the documentation of this file.

#pragma once

#include "Application.hpp"
#include "apps/AppConfig.hpp"
#include <Arduino_JSON.h>
#include <GxGDEW027C44/GxGDEW027C44.h>
#include <functional>

class AppFablab : public Application {
private:
protected:
    std::string machineKey;
public:
    AppFablab(int updateIntervalSec, AppConfig& appConfig);

    std::string toString();

    void buttonClickMiddle();

    void buttonClickRight();

    int showDataOnDisplay(GxEPD* display, JSONVar data);

    void showMachineLine(GxEPD* display, std::string name, std::string status);
};