コード例 #1
0
ファイル: mpsse.py プロジェクト: yogggoy/libmpsse
	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)
コード例 #2
0
ファイル: mpsse.py プロジェクト: hudkmr/libmpsse
    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)