report back pin numbers together with the end stop status
parent
6f777d9ac6
commit
75b5b8dbf3
|
@ -31,9 +31,18 @@ Serial.print("home\n");
|
|||
Serial.print("R99 Report end stops\n");
|
||||
}
|
||||
|
||||
// Report back the end stops
|
||||
CurrentState::getInstance()->storeEndStops();
|
||||
CurrentState::getInstance()->printEndStops();
|
||||
|
||||
// Also report back some selected pin numbers: 8, 9, 10, 13
|
||||
PinControl::getInstance()->readValue( 8, 0);
|
||||
PinControl::getInstance()->readValue( 9, 0);
|
||||
PinControl::getInstance()->readValue(10, 0);
|
||||
PinControl::getInstance()->readValue(13, 0);
|
||||
|
||||
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
|
|
@ -13,6 +13,7 @@
|
|||
#include "pins.h"
|
||||
#include "Config.h"
|
||||
#include "StepperControl.h"
|
||||
#include "PinControl.h"
|
||||
|
||||
class F81Handler : public GCodeHandler {
|
||||
public:
|
||||
|
|
Loading…
Reference in New Issue