Fix pinout problem on potentiometer
Switch analog chain to 3.3v supply