Skip to content

Commit

Permalink
Config
Browse files Browse the repository at this point in the history
  • Loading branch information
FredM67 committed Jan 5, 2024
1 parent 1ea9c53 commit d328b81
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Mk2_3phase_RFdatalog_temp/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
// constants which must be set individually for each system
//
inline constexpr uint8_t NO_OF_PHASES{ 3 }; /**< number of phases of the main supply. */
inline constexpr uint8_t NO_OF_DUMPLOADS{ 2 }; /**< number of dump loads connected to the diverter */
inline constexpr uint8_t NO_OF_DUMPLOADS{ 3 }; /**< number of dump loads connected to the diverter */

#ifdef EMONESP
inline constexpr bool EMONESP_CONTROL{ true };
Expand Down Expand Up @@ -72,8 +72,8 @@ inline constexpr bool DUAL_TARIFF{ false }; /**< set it to 'true' if th
// D12 is MISO
// D13 is SCK

inline constexpr uint8_t physicalLoadPin[NO_OF_DUMPLOADS]{ 5, 7 }; /**< for 3-phase PCB, Load #1/#2/#3 (Rev 2 PCB) */
inline constexpr uint8_t loadPrioritiesAtStartup[NO_OF_DUMPLOADS]{ 0, 1 }; /**< load priorities and states at startup */
inline constexpr uint8_t physicalLoadPin[NO_OF_DUMPLOADS]{ 5, 6, 7 }; /**< for 3-phase PCB, Load #1/#2/#3 (Rev 2 PCB) */
inline constexpr uint8_t loadPrioritiesAtStartup[NO_OF_DUMPLOADS]{ 0, 1, 2 }; /**< load priorities and states at startup */

// Set the value to 0xff when the pin is not needed (feature deactivated)
inline constexpr uint8_t relayPin{ 0xff }; /**< for 3-phase PCB, relay trigger */
Expand Down

0 comments on commit d328b81

Please sign in to comment.