Update PiObjects.py

changed self.pin to self._pin