Open Wallacoloo opened 9 years ago
Implemented, but the endstops have no labels. So it returns, e.g., Ok triggered open triggered
(I lowercased TRIGGERED for compatibility with Teacup).
There are a few ways to fix this:
(1) has the downside of being less inline-able. (2) makes implementation slightly easier.
I'll probably go with (1) because putting the Endstops in the ioDrivers tuple is more consistent with the rest of Printipi, although that paradigm might eventually change.
J.S. sent me the following code for his M119 implementation (in state.h):
It shouldn't be too difficult to get this to compile with the current devel version / machines.