Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Occasional I2C crash #2

Closed
twyatt opened this issue Nov 12, 2014 · 0 comments
Closed

Occasional I2C crash #2

twyatt opened this issue Nov 12, 2014 · 0 comments

Comments

@twyatt
Copy link
Owner

twyatt commented Nov 12, 2014

Exception in thread "main" java.io.IOException: Error reading from /dev/i2c-1 at address 0x48 to address 0x1. Got -1.
        at com.pi4j.io.i2c.impl.I2CDeviceImpl.read(I2CDeviceImpl.java:208)
        at com.i2cdevlib.I2Cdev.readWord(I2Cdev.java:145)
        at com.i2cdevlib.I2Cdev.readBitW(I2Cdev.java:169)
        at edu.sdsu.rocket.server.devices.ADS1115.readOpStatus(ADS1115.java:327)
        at edu.sdsu.rocket.server.devices.ADS1115Wrapper.read(ADS1115Wrapper.java:77)
        at edu.sdsu.rocket.server.Application.sensorLoop(Application.java:220)
        at edu.sdsu.rocket.server.Application.loop(Application.java:82)
        at edu.sdsu.rocket.server.Launcher.main(Launcher.java:21)
@twyatt twyatt closed this as completed in 30b1a6d Nov 12, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant