Beispiel #1
0
	def ReadPins(self):
		"""
		Reads the current state of the chip's pins.

		Returns an integer with the corresponding pin's bits set.
		"""
		return _mpsse.ReadPins(self.context)
Beispiel #2
0
    def ReadPins(self):
        """
		Reads the current state of the chip's pins. For use in BITBANG mode only.
		Returns a byte with the corresponding pin's bits set.
		"""
        return _mpsse.ReadPins(self.context)