Exemplo n.º 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)
Exemplo n.º 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)