loop control commands and fixes for error disabling

This commit is contained in:
Wolfgang Hottgenroth
2017-01-05 00:07:07 +01:00
parent e7a6a84bbc
commit f44646bced
5 changed files with 43 additions and 27 deletions

View File

@ -13,6 +13,11 @@ const uint8_t RX_EN_PIN = 2;
const uint8_t RX_ENABLE = LOW;
const uint8_t RX_DISABLE = HIGH;
const uint8_t CURRENT_SHUTDOWN = 5;
const uint8_t CURRENT_ON = LOW;
const uint8_t CURRENT_OFF = HIGH;
const uint8_t CURRENT_IN = A1;
const double U_UNIT = 4.9; // mV
const double R_SHUNT = 10.0;