Map datarange to another datarange 21 November 201429 March 2015 SheldonNo Comments int value = map(input, minOldRange, maxOldRange, minNewrange, maxNewRange); Share this:LinkedInFacebookWhatsAppPinterestEmailPrintTumblrRedditPocketMastodonTelegramXNextdoor