Hello Guest it is June 14, 2025, 10:28:51 PM

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

0 Members and 2 Guests 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