farmbot-arduino-firmware/src/F12Handler.h

32 lines
574 B
C
Raw Normal View History

2014-07-23 01:46:21 -06:00
/*
* F12Handler.h
*
* Created on: 2014/07/21
* Author: MattLech
*/
#ifndef F12HANDLER_H_
#define F12HANDLER_H_
#include "GCodeHandler.h"
#include "Config.h"
#include "CurrentState.h"
#include "pins.h"
#include "Config.h"
#include "StepperControl.h"
2017-04-19 08:12:12 -06:00
class F12Handler : public GCodeHandler
{
2014-07-23 01:46:21 -06:00
public:
2017-04-19 08:12:12 -06:00
static F12Handler *getInstance();
int execute(Command *);
2014-07-23 01:46:21 -06:00
private:
2017-04-19 08:12:12 -06:00
F12Handler();
F12Handler(F12Handler const &);
void operator=(F12Handler const &);
long adjustStepAmount(long);
long getNumberOfSteps(double, double);
2014-07-23 01:46:21 -06:00
};
#endif /* F12HANDLER_H_ */