如何在Android Things上运行Ssd1351?

时间:2019-03-22 10:07:34

标签: i2c android-things ioerror

我使用android工具在RPI 3B上运行Ssd1351。 我的代码:

mI2cDevice = PeripheralManager.getInstance().openI2cDevice(i2cName, 0x3c);
mI2cDevice.writeRegByte(0, (byte)0xA5);

错误:

  

com.google.android.things.pio.PioException:android.os.ServiceSpecificException:I / O错误

0 个答案:

没有答案