Wykres commitów

4 Commity (85a7138626a2bd2e0b47505605c409163bfae67d)

Autor SHA1 Wiadomość Data
MarcoMiano ce1e03fbef
drivers/sensor/mcp9808: Fixed regression made by ruff suggestions.
ruff suggest to use .isinstance() to check class type but bool doen't
have .isinstance() method.

ruff suggest to use only float in some places but i don't like it
the code should be more flexible.

Signed-off-by: MarcoMiano <58668074+MarcoMiano@users.noreply.github.com>
2025-01-01 22:02:36 +01:00
MarcoMiano ae8ee514ef
drivers/sensor/mcp9808: Activate actions to publish package from fork
Signed-off-by: MarcoMiano <58668074+MarcoMiano@users.noreply.github.com>
2025-01-01 21:37:53 +01:00
MarcoMiano 233ec2987a
drivers/sensor/mcp9808: Ruff formatting.
Signed-off-by: MarcoMiano <58668074+MarcoMiano@users.noreply.github.com>
2025-01-01 21:20:08 +01:00
MarcoMiano 0d2e56c7e8
drivers/sensor/mcp9808: Add MCP9808 temperature sensor driver.
Add single-file module for the Microchip MCP9808 precision temperature
sensor. The module provides a class for reading the temperature and for
configuring the sensor. It has type/value checking for some of the
critical parts of the configuration as well as a debug mode for easier
testing during development.

It includes a test file designe to run directly on a board with a sensor
connected to test both the module and the sensor.

Both module and tests file are thoroughly documented in the code
directly. For more information read README.md on MarcoMiano/mip-mcp9808

Signed-off-by: MarcoMiano <58668074+MarcoMiano@users.noreply.github.com>
2025-01-01 21:09:17 +01:00