Skip to content

Commit

Permalink
Add off mode
Browse files Browse the repository at this point in the history
  • Loading branch information
FredM67 committed Oct 23, 2024
1 parent 9ffba27 commit be789de
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Mk2_3phase_RFdatalog_temp/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ inline constexpr RotationModes PRIORITY_ROTATION{ RotationModes::PIN }; /**< man
inline constexpr bool OVERRIDE_PIN_PRESENT{ true }; /**< managed through EmonESP */
#else
inline constexpr bool EMONESP_CONTROL{ false };
inline constexpr bool DIVERSION_PIN_PRESENT{ false }; /**< set it to 'true' if you want to control diversion ON/OFF */
inline constexpr bool DIVERSION_PIN_PRESENT{ true }; /**< set it to 'true' if you want to control diversion ON/OFF */
inline constexpr RotationModes PRIORITY_ROTATION{ RotationModes::OFF }; /**< set it to 'OFF/AUTO/PIN' if you want manual/automatic rotation of priorities */
inline constexpr bool OVERRIDE_PIN_PRESENT{ true }; /**< set it to 'true' if there's a override pin */
#endif
Expand Down Expand Up @@ -76,7 +76,7 @@ inline constexpr uint8_t loadPrioritiesAtStartup[NO_OF_DUMPLOADS]{ 0, 1 }; /**<

// Set the value to 0xff when the pin is not needed (feature deactivated)
inline constexpr uint8_t dualTariffPin{ 0xff }; /**< for 3-phase PCB, off-peak trigger */
inline constexpr uint8_t diversionPin{ 0xff }; /**< if LOW, set diversion on standby */
inline constexpr uint8_t diversionPin{ 9 }; /**< if LOW, set diversion on standby */
inline constexpr uint8_t rotationPin{ 0xff }; /**< if LOW, trigger a load priority rotation */
inline constexpr uint8_t forcePin{ 7, }; /**< for 3-phase PCB, force pin */
inline constexpr uint8_t forceTempPin{ 8 }; /**< for 3-phase PCB, force pin */
Expand Down

0 comments on commit be789de

Please sign in to comment.