fixed waring for pinNr. keep all warnings as errors to avoid trivial mistakes slipping in.