pub enum Address {
Low = 35,
High = 92,
}Expand description
I²C address of the BH1750 sensor.
The sensor supports two possible addresses, determined by the state of the ADD pin.
Variants§
Low = 35
Low: 0x23 when the ADD is connected to GND or left floating.
High = 92
High: 0x23 when the ADD is connected to VCC.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Address
impl RefUnwindSafe for Address
impl Send for Address
impl Sync for Address
impl Unpin for Address
impl UnwindSafe for Address
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more