Added pinmode
Changed some compiler things