Zubax / sapog

Sapog - advanced multiplatform ESC firmware
https://kb.zubax.com/x/cYAh
BSD 3-Clause "New" or "Revised" License
5 stars 2 forks source link

Support Valenok hardware #39

Closed pavel-kirienko closed 2 years ago

pavel-kirienko commented 2 years ago
pavel-kirienko commented 2 years ago

Formula for computing the resistor divider gain, where hi is the high-side resistance and lo is the low-side resistance:

static const auto compute_resistor_divider_gain = [](auto hi, auto lo) { return Scalar(lo + hi) / Scalar(lo); };
pavel-kirienko commented 2 years ago

I am going to close it as it appears to be finished although not yet fully tested due to lack of hardware. Shall any issues be discovered later, we will document and address them separately.