changed analog pin definition mechanism