Fix analog read

The pins where not initialize properly