The source project of this merge request has been removed.
Add erorr handling for BHI160 sensors.
Introduces an error type for bhi160 related methods and update potential failing methods to return results. This should ensure that it is not possible to encounter a panic during sensor interaction.
This will also:
- introduce
errno
constants, - add minor cleanups in
bhi160.rs
, - update the example to use the
?
operator instead ofunwrap()
.