DVT2023/DVT_main.ino

36 lines
599 B
Arduino
Raw Normal View History

2023-11-24 21:09:47 +00:00
#include "DVT_CmdHandlerClass.h"
#include "DVT_EncoderClass.h"
#include "DVT_FilamentClass.h"
#include "DVT_XRayClass.h"
void setup() {
Serial.begin(115200);
CONTROLMSG(' ');
CONTROLMSG("#DVT Control");
CONTROLMSG(' ');
}
long shuffle=0;
bool Status=false;
void TESTSignal(){
if (millis() >= shuffle){
Status = !Status;
digitalWrite(PIN_STEPMOTOR_DIRECT,Status);
shuffle+=10;
}
}
void loop() {
while (Serial.available()) {
cmds.Recognize(Serial.readString());
}
XRAY.RunTime();
FILAMENT.Heated();
}