On 27 February 2017 at 13:49, Gene Heskett <ghesk...@shentel.net> wrote: > What I wanted was a binary counter, whose individual bitN outputs could > drive the selN lines of a mux16, thereby selecting the gain to be > applied to the jogwheel output.
Mux-generic can be driven by an integer (and, possibly usefully for you, you can also use the bit-inputs to "shift" the selection.) http://linuxcnc.org/docs/2.7/html/man/man9/mux_generic.9.html http://linuxcnc.org/docs/2.7/html/man/man9/updown.9.html Looks like the solution to the counting up and down part. One slight inconvenience is that updown is S32 out and mux_generic is U32 in. -- atp "A motorcycle is a bicycle with a pandemonium attachment and is designed for the especial use of mechanical geniuses, daredevils and lunatics." — George Fitch, Atlanta Constitution Newspaper, 1916 ------------------------------------------------------------------------------ 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