Help with a code (hijack)

How to use two map function in a program

In two dictent lines. For the syntax look at the map page on the arduino site: https://www.arduino.cc/reference/en/language/functions/math/map

shanmugaraja:
How to use two map function in a program

What makes you think that you can't call the 'map()' function as many times as you want?