The Arduino has a map function named "map" which looks like this: map(value, 0, 1023, 0, 100) The function, in this case, takes an integer value between 0 and 1023 and returns a number between 0 and 100. Is there a Python equivalent? -- Regards, Phil