code: def SPI_write_byte(self, chip_select, data):
          'Writes a data to a SPI device selected by chipselect bit. '
          self.bus.write_byte_data(self.address, chip_select, dataf SPI_write_byte(self, chip_select, data):
          'Writes a data to a SPI device selected by chipselect bit. '
          self.bus.write_byte_data(self.address, chip_select, data)
docs: Writes a data to a SPI device selected by chipselect bit.