5785 shaares
mixing between two values with pot:
interpolatedvalue = potvalue/1023 table1value + (1023-potvalue)/1023 table2value
mixing between two values with pot:
interpolatedvalue = potvalue/1023 table1value + (1023-potvalue)/1023 table2value