Skip to content

Commit

Permalink
print ve.direct rx, tx pins on init
Browse files Browse the repository at this point in the history
  • Loading branch information
helgeerbe committed Feb 25, 2023
1 parent 28b24d0 commit 3f3540b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,7 @@ void setup()
// Initialize ve.direct communication
MessageOutput.println(F("Initialize ve.direct interface... "));
if (PinMapping.isValidVictronConfig()) {
MessageOutput.printf("ve.direct rx = %d, tx = %d\r\n", pin.victron_rx, pin.victron_tx);
VeDirect.init(pin.victron_rx, pin.victron_tx);
VeDirect.setPollInterval(config.Vedirect_PollInterval);
MessageOutput.println(F("done"));
Expand Down

0 comments on commit 3f3540b

Please sign in to comment.