[API] Introduce error handling for bhi160.
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: - add minor cleanups in `bhi160.rs`, - update the example to use the `?` operator instead of `unwrap()`.
Please register or sign in to comment