Closed SElab2019 closed 3 years ago
Closed. This was a minor API change where UnsupportedBusNumberException
was added to I2CFactory.getInstance()
. Implementing code must handle this exception.
UnsupportedBusNumberException
perhaps should have been implemented as extending a RuntimeException, but its been there since v1.1 and we probably should not modify the public interface signature at this point.
When I try to upgrade pi4j-core from 1.0 to version 1.2. The following code breaks.
The code should pass, but it throws an error: