+1
.gitignore
+1
.gitignore
···
+170
Cargo.lock
+170
Cargo.lock
···
+11
Cargo.toml
+11
Cargo.toml
···
+201
LICENSE-APACHE
+201
LICENSE-APACHE
···
+21
LICENSE-MIT
+21
LICENSE-MIT
···
+3
README.md
+3
README.md
···+This is a repo of various crates that I have written for myself for various embedded projects I do in my own time. Not really production ready or meant for outside use, but feel free to contribute if you do find use for them. Just no AI slop code whatsoever.
+11
sachy-battery/Cargo.toml
+11
sachy-battery/Cargo.toml
···
+108
sachy-battery/src/lib.rs
+108
sachy-battery/src/lib.rs
···+/// Creates a new discharge profile. Internally, it stores the voltages high/low and pct high/low+/// assert_eq!(BatteryDischargeProfile::calc_pct_from_profile_range(2.75, levels.iter()), 0.75);
+17
sachy-bthome/Cargo.toml
+17
sachy-bthome/Cargo.toml
···
+273
sachy-bthome/src/lib.rs
+273
sachy-bthome/src/lib.rs
···
+15
sachy-fmt/Cargo.toml
+15
sachy-fmt/Cargo.toml
···
+243
sachy-fmt/src/lib.rs
+243
sachy-fmt/src/lib.rs
···