components

Module mlx90614

Source
Expand description

Components for the MLX90614 IR Temperature Sensor.

§Usage

let mlx90614 = components::mlx90614::Mlx90614I2CComponent::new(mux_i2c, i2c_addr,
board_kernel)
   .finalize(components::mlx90614_component_static!());

let temp = static_init!(
       capsules_extra::temperature::TemperatureSensor<'static>,
       capsules_extra::temperature::TemperatureSensor::new(mlx90614,
                                                grant_temperature));
kernel::hil::sensors::TemperatureDriver::set_client(mlx90614, temp);

Structs§