Page 1 of 1
simple C code to momentary DAC jog servo
Posted: Thu Dec 07, 2023 1:10 am
by turbothis
lol, so my X axis does not have an encoder for a couple days and i am wanting to see about a code that would have a momentary button, to just like output say 2 volts on DAC 0.
Re: simple C code to momentary DAC jog servo
Posted: Thu Dec 07, 2023 6:03 pm
by TomKerekes
You might use the Screen Editor to add a Momentary button to control a Virtual bit. Then use a forever loop in KFLOP to monitor the bit and set DAC to 2V when on and to 0V when off.