Do the maxValue and minValue values look OK before and after you map() them ?
Do they change appropriately when you move the pot wipers ?
How exactly are the pots wired ?
Do the maxValue and minValue values look OK before and after you map() them ?
Do they change appropriately when you move the pot wipers ?
How exactly are the pots wired ?