Closed dbrgn closed 6 years ago
I think that P = V * I
still holds if V
is the root-mean-square of the sinusoidal AC voltage. But I agree we could quickly get into complex impedance, power factors and all sorts of second-year engineering degree fun.
Example fixed.
Would be great to get a release after this has been merged, then I can add it as an optional feature to the mcp3425 crate :slightly_smiling_face:
By the way, the README needs an update regarding version numbers and supported units.
Any updates? This is the last thing I'd like to integrate into the mcp3425 crate before releasing. :slightly_smiling_face:
Merged, updated and published.
Awesome, thanks! :sparkles:
Add the remaining units for Ohm's law.
Also implement the
P = U * I
relation. This only applies to DC power though, not to AC where the time is relevant. Do you think it's still correct to keep the conversions?Fixes #9.