java.io.IOException: Error writing to /dev/i2c-1 at address 0×4. Got -20001.

neophob.com | 9 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    I2C communication between a RPI and a Arduino

    neophob.com | 9 months ago
    java.io.IOException: Error writing to /dev/i2c-1 at address 0×4. Got -20001.
  2. 0

    crash yo

    GitHub | 2 years ago | mcwrenn21
    java.io.IOException: Error writing to /dev/i2c-1 at address 0x53 to address 0x2d. Got -20001.

    Root Cause Analysis

    1. java.io.IOException

      Error writing to /dev/i2c-1 at address 0×4. Got -20001.

      at com.pi4j.io.i2c.impl.I2CDeviceImpl.write()
    2. com.pi4j.io
      I2CDeviceImpl.write
      1. com.pi4j.io.i2c.impl.I2CDeviceImpl.write(I2CDeviceImpl.java:90)
      1 frame
    3. Unknown
      I2cExample.main
      1. I2cExample.main(I2cExample.java:34)
      1 frame