Hello Guest it is May 10, 2025, 01:40:27 AM

Author Topic: Is it possible to map ‘continuous’ jogging to an analog input?  (Read 10437 times)

0 Members and 1 Guest are viewing this topic.

Re: Is it possible to map ‘continuous’ jogging to an analog input?
« Reply #10 on: January 08, 2023, 01:27:00 PM »
Answered my own question:

function map(x, in_min, in_max, out_min, out_max)
 

Stolen from:
https://stackoverflow.com/questions/64755623/how-to-nonlinearly-map-two-number-ranges-in-lua-or-in-general