code: def write8(self, value, char_mode=False):
          
          # One millisecond delay to prevent writing too quickly.
          self._delay_microseconds(1000)
          # Set character / data bit.
          self._gpio.output(self._rs, char_mode)
          # Write upper 4 bits.
          self._gpio.output_pins({ self._d4: ((value >> 4) & 1) > 0,
                                   self._d5: ((value >> 5) & 1) > 0,
                                   self._d6: ((value >> 6) & 1) > 0,
                                   self._d7: ((value >> 7) & 1) > 0 })
          self._pulse_enable()
          # Write lower 4 bits.
          self._gpio.output_pins({ self._d4: (value        & 1) > 0,
                                   self._d5: ((value >> 1) & 1) > 0,
                                   self._d6: ((value >> 2) & 1) > 0,
                                   self._d7: ((value >> 3) & 1) > 0 })
          self._pulse_enable()
docs: Write 8-bit value in character or data mode.  Value should be an int
          value from 0-255, and char_mode is True if character data or False if
          non-character data (default).