Commit graph

151 commits

Author SHA1 Message Date
753af2629f Delete README.md
Some checks are pending
Continuous integration / Cargo Check (push) Waiting to run
Continuous integration / Check Formatting (push) Waiting to run
Continuous integration / Check Lints (push) Waiting to run
2025-01-07 11:39:52 +00:00
48d7a04679
Merge pull request #3 from dnutiu/v0.9.0
V0.9.0
2024-11-16 17:18:56 +02:00
eede29b24b remove linux embedded hal 2024-11-16 17:17:26 +02:00
300bd90f8e make look-up table static 2024-11-16 17:13:50 +02:00
bd54956320 use clamp instead of computing min-max 2024-11-16 17:10:23 +02:00
56d9b7a58a add example to module 2024-11-16 16:43:32 +02:00
6a26ba4397 fix read sensor data example 2024-11-16 16:43:18 +02:00
cd6f7a34cd delete old example file 2024-11-16 16:42:20 +02:00
3e09c52548 Update bitflags to 2.6 2024-11-16 16:41:00 +02:00
c3b200bae9 Fix example path 2024-11-16 16:26:16 +02:00
46c0c67c67 Add complete example for reading sensor data 2024-11-16 16:05:40 +02:00
877c8bb6bc Downgrade bitflags back to version 1 2024-11-16 15:23:30 +02:00
Denis-Cosmin NUTIU
ffa9bf9b5b prepare v0.9.0 2024-11-16 14:44:51 +02:00
64e5c06c83 update Cargo.toml to v0.8.0 2024-03-03 19:09:33 +02:00
ebb40f0047
Merge pull request #1 from dnutiu/v0.8.0
V0.8.0
2024-03-03 19:06:02 +02:00
f77e251bfb fix code formatting 2024-03-03 19:05:01 +02:00
fe38f02a9c use anyhow crate for error handling 2024-03-03 19:02:33 +02:00
dfadb52009 refactor lib.rs variables 2024-03-03 11:37:24 +02:00
80c1ee5289 update read_sensor_data.rs example 2024-02-27 22:45:18 +02:00
14c2e61aae refactor: store i2c bus handle as refcell 2024-02-27 22:43:10 +02:00
d63fcf08b8 remove license check from flow 2024-02-27 22:13:14 +02:00
35c2adef92 refactor: fix clippy hints 2024-02-27 22:12:24 +02:00
cf9b0fbdd0 refactor: format code 2024-02-27 22:09:16 +02:00
432d3643c7 refactor: soft_reset, init and set registers 2024-02-27 22:05:18 +02:00
4dc106450a todo: use anyhow crate to improve readability and maintenance 2024-02-27 20:49:06 +02:00
b5d2f80e15 refactor: fix settings variable names 2024-02-27 20:41:00 +02:00
43ca150615 refactor: extract i2c utility in its own file 2024-02-26 22:01:42 +02:00
43991b5e24 refactor: add docstrings to calculation 2024-02-26 21:34:57 +02:00
cb90ea40e4 refactor: remove generic type from boundary_check_u8 2024-02-26 21:25:31 +02:00
99923f31e5 refactor: rename struct fields 2024-02-26 21:06:36 +02:00
6eee3c1642 update README.md 2024-02-26 20:40:23 +02:00
30b60b20f3 fix lib.rs doc test 2024-02-26 20:15:51 +02:00
fa4cc738e0 simplify error handling 2024-02-26 19:44:08 +02:00
7174ddef17 remove .expect calls from lib 2024-02-25 22:20:32 +02:00
c46cd20217 remove res folder from examples 2024-02-25 21:37:19 +02:00
70f192c04e add .idea folder 2024-02-25 21:06:27 +02:00
02baa8f7ac rename example to read_sensor_data.rs 2024-02-25 21:06:14 +02:00
053e44de42 update examples 2024-02-25 21:00:59 +02:00
5468a27b02 update README.md 2024-02-25 20:58:38 +02:00
2c3fc02fef update rust edition to 2021 2024-02-25 20:57:40 +02:00
9bdc74649d add doctest 2024-02-25 20:55:54 +02:00
109a2685ef update README.md and Cargo.toml 2024-02-25 20:55:43 +02:00
38cf1075c8 remove influx client example 2024-02-25 20:48:36 +02:00
28eedb1266 refactor read temperature example 2024-02-25 20:48:10 +02:00
b261eb61a2 remove doctest from lib 2024-02-25 19:54:59 +02:00
81005c1aab remove tests 2024-02-25 18:38:04 +02:00
160b178f2e add linux embedded hall to dependencies 2024-02-25 18:37:58 +02:00
9a6893f326 rename calc to calculation 2024-02-25 11:46:35 +02:00
ccfcf8bd32 update embedded-hal and linux-embedded-hal to latest stable versions 2024-02-25 11:31:24 +02:00
9a210bdbe3 fix example for reading_temperature.rs 2024-02-24 22:20:22 +02:00