farmbot-arduino-firmware/src/F32Handler.h

34 lines
600 B
C
Raw Normal View History

2014-09-04 15:10:47 -06:00
/*
* F32Handler.h
*
* Created on: 15 maj 2014
* Author: MattLech
*/
#ifndef F32HANDLER_H_
#define F32HANDLER_H_
#include "GCodeHandler.h"
#include "Config.h"
#include "CurrentState.h"
#include "pins.h"
#include "Config.h"
#include "StepperControl.h"
#include "StatusList.h"
2017-04-19 08:12:12 -06:00
class F32Handler : public GCodeHandler
{
2014-09-04 15:10:47 -06:00
public:
2017-04-19 08:12:12 -06:00
static F32Handler *getInstance();
int execute(Command *);
2014-09-04 15:10:47 -06:00
private:
2017-04-19 08:12:12 -06:00
F32Handler();
F32Handler(F32Handler const &);
void operator=(F32Handler const &);
long adjustStepAmount(long);
long getNumberOfSteps(double, double);
2014-09-04 15:10:47 -06:00
};
#endif /* F32HANDLER_H_ */