The code I tested is below. python code: import smbus bus = smbus.SMBus(1) # Read a block of 6 bytes from address 0x18, offset 0 data = bus.read_i2c_block_data(0x18, 0, 6) The code was successfully ...
A sketch to have an Arduino pretend as if it's an SMBUS-compliant battery. Hook the Arduino up to hardware that accepts an SMBUS battery, and it will respond with values when queried. Values are ...