changed pins and added sensor test output