<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:

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, data)