Skip to content

Board.java won't compile...Un #211

Description

@kpolleck

When first compiling the java classes, I got an error related to uncaught Exceptions in Board.java. I don't quite understand how this worked for anyone as it is.

To fix this, I added try/catch code around line 91 to:

I2CBus bus = null;
try {
bus = I2CFactory.getInstance(busId);
} catch (Exception e) {
System.out.println(e);
}
device = bus.getDevice(ADDRESS);

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    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