Skip to content

IOException: Error reading from I2CDevice on I2CBus '1' ('/dev/i2c-1') at address 0x8 to address 0x1. Got '-1'. #209

@kpolleck

Description

@kpolleck

After getting my new GoPiGo2 Robot working with the Python example, I tried to set up the Java library, but when running Test.sh, I get the immediate error:

IOException: Error reading from I2CDevice on I2CBus '1' ('/dev/i2c-1') at address 0x8 to address 0x1. Got '-1'.

The java program doesn't exit, and movement commands seem to still work (move forward / move backward / turn right / turn left / etc.) but other commands (e.g. led commands, "board revision," etc.) fail--some of them causing the java program to exit.

I'm wondering...is it possible that whomever wrote this had other accessories attached which might avoid the IOExceptions I am seeing?

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions