Add puts in pinmode function