Ejemplo n.º 1
0
	def SetAck(self, ack):
		"""
		Sets the transmitted ACK bit.
		For use only in I2C mode.

		@ack - One of: ACK, NACK.

		Returns None.
		"""
		_mpsse.SetAck(self.context, ack)
Ejemplo n.º 2
0
    def SetAck(self, ack):
        """
		Sets the transmitted ACK bit. ACKs are sent by default.
		Set ack = 1 to send ACKs, ack = 0 to send NACKs.
		"""
        return _mpsse.SetAck(self.context, ack)