On Thursday 16 March 2017 09:27:13 andy pugh wrote: > On 16 March 2017 at 11:56, Erik Christiansen <dva...@internode.on.net> wrote: > > Would it perhaps be a > > little more convenient to have an encoder at the motor, as well as > > the one on the spindle, and let HAL compute the gear from the ratio? > > https://forum.linuxcnc.org/47-hal-examples/27071-automatic-spindle-gea >r-detection
Neat Andy, and trimming it down to a 4 speed is trivial. And I could use the lincurve output to a wcomp to run my leds. That, once trimmed to 4 speed, looks less complicated than I had envisioned, Thanks Andy. Cheers, Gene Heskett -- "There are four boxes to be used in defense of liberty: soap, ballot, jury, and ammo. Please use in that order." -Ed Howdershelt (Author) Genes Web page <http://geneslinuxbox.net:6309/gene> ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot _______________________________________________ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users