Hello Guest it is April 26, 2024, 11:36:33 PM

Author Topic: Is it possible to map ‘continuous’ jogging to an analog input?  (Read 1920 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