33 lines
518 B
C++
33 lines
518 B
C++
#ifndef PROGRAM_H
|
|
#define PROGRAM_H
|
|
|
|
#include "DolibarrClient.h"
|
|
#include <M5Stack.h>
|
|
#include "ServoMotorComponent.h"
|
|
#include "NfcReader.h"
|
|
#include "GRBL.h"
|
|
|
|
class Program {
|
|
public:
|
|
/**
|
|
* Program startup
|
|
*/
|
|
Program();
|
|
|
|
/**
|
|
* Program WarehouseGUI loop
|
|
*/
|
|
void loop();
|
|
void checkNfc();
|
|
void checkServo();
|
|
void checkWifi();
|
|
void moveStepper();
|
|
private:
|
|
DolibarrClient *client;
|
|
ServoMotorComponent *servo;
|
|
NfcReader *nfcReader;
|
|
GRBL *grbl;
|
|
};
|
|
|
|
#endif
|