over current protection

This commit is contained in:
hg
2014-01-19 00:37:40 +01:00
parent 2609f4c558
commit b43e507daa
7 changed files with 131 additions and 20 deletions

View File

@ -14,6 +14,8 @@ const uint8_t RX_ENABLE = LOW;
const uint8_t RX_DISABLE = HIGH;
const uint8_t CURRENT_IN = A0;
const double U_UNIT = 4.9; // mV
const double R_SHUNT = 11.0;
class SendOctets : public Cmd, public ResponseCallback {