code: def _write4bits(self, value):
          
          for i in range(4):
              bit = (value >> i) & 0x01
              GPIO.output(self.pins[i + 7], bit)
          self._pulse_enable()
docs: Write 4 bits of data into the data bus.