• rnd's avatar
    [API] Introduce error handling for bhi160. · 77f2e073
    rnd authored
    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()`.
    77f2e073