import smbus
bus = smbus.SMBus(1)

# device address, register address, [# of bytes, data1, data2, ...]

regvals=[
[0x10, 0xff, 0xff, 0xff, 0xff, 0x44, 0x50, 0x4f, 0x32, 0x43, 0x4f, 0x4d, 0x50, 0x00, 0xff, 0xff, 0xff], # 0x00
[0x10, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff], # 0x10
[0x10, 0xff, 0xff, 0xff, 0xff, 0x44, 0x50, 0x4f, 0x32, 0x45, 0x4d, 0x42, 0x44, 0x00, 0xff, 0xff, 0xff]] # 0x20

bus.write_i2c_block_data(50, 0x00, regvals[0])
bus.write_i2c_block_data(50, 0x10, regvals[1])
bus.write_i2c_block_data(50, 0x20, regvals[2])
bus.write_i2c_block_data(50, 0x200, regvals[0])
bus.write_i2c_block_data(50, 0x210, regvals[1])
bus.write_i2c_block_data(50, 0x220, regvals[2])

bus.write_i2c_block_data(54, 0x00, regvals[0])
bus.write_i2c_block_data(54, 0x10, regvals[1])
bus.write_i2c_block_data(54, 0x20, regvals[2])
bus.write_i2c_block_data(54, 0x200, regvals[0])
bus.write_i2c_block_data(54, 0x210, regvals[1])
bus.write_i2c_block_data(54, 0x220, regvals[2])



