docs: def SPI_write(self, chip_select, data):
          'Writes data to SPI device selected by chipselect bit. '
          dat = list(data)
          dat.insert(0, chip_select)
          return self.bus.write_i2c_block(self.address, dat);