embedded-hal icon indicating copy to clipboard operation
embedded-hal copied to clipboard

Add ADC `Voltmeter` and `Ammeter` traits.

Open reitermarkus opened this issue 1 year ago • 8 comments
trafficstars

This adds an AdcChannel trait as mentioned in https://github.com/rust-embedded/embedded-hal/issues/377.

Still needs to be tested by implementing an actual driver. I feel there is something still missing with regard to how the return value can actually be used further. Is it even practical to have this trait without having a corresponding unit and a lower/upper bound for converting the raw value?

reitermarkus avatar Jan 17 '24 01:01 reitermarkus