jumpy analog values [Solved]-thankyou

Your using 0 and 2 in the combined code not 0 and 1!

Mark