Fixes pin reference for analog write.