# Conflicts: # config.ini # include/Program.h # lib/NFC/src/NfcReader.cpp # src/Program.cpp
32 lines
494 B
C++
32 lines
494 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();
|
|
private:
|
|
DolibarrClient *client;
|
|
ServoMotorComponent *servo;
|
|
NfcReader *nfcReader;
|
|
GRBL *grbl;
|
|
};
|
|
|
|
#endif
|