From 651ce8191bcbe8ef89c14765daf2779a4d2872ca Mon Sep 17 00:00:00 2001 From: bmlikota Date: Mon, 4 Nov 2019 20:25:15 +0100 Subject: [PATCH] Corrected end configuration. 0x5678 replaced with 0x8765. --- ATM90E36.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/ATM90E36.cpp b/ATM90E36.cpp index 2dacb88..fdec959 100644 --- a/ATM90E36.cpp +++ b/ATM90E36.cpp @@ -486,10 +486,10 @@ void ATM90E36::begin() CommEnergyIC(WRITE, CSThree, 0x02F6); // Checksum 3 // Done with the configuration - CommEnergyIC(WRITE, ConfigStart, 0x5678); - CommEnergyIC(WRITE, CalStart, 0x5678); // 0x6886 //0x5678 //8765); - CommEnergyIC(WRITE, HarmStart, 0x5678); // 0x6886 //0x5678 //8765); - CommEnergyIC(WRITE, AdjStart, 0x5678); // 0x6886 //0x5678 //8765); + CommEnergyIC(WRITE, ConfigStart, 0x8765); + CommEnergyIC(WRITE, CalStart, 0x8765); // 0x6886 //0x5678 //8765); + CommEnergyIC(WRITE, HarmStart, 0x8765); // 0x6886 //0x5678 //8765); + CommEnergyIC(WRITE, AdjStart, 0x8765); // 0x6886 //0x5678 //8765); CommEnergyIC(WRITE, SoftReset, 0x789A); // Perform soft reset } \ No newline at end of file