   ct3.voltage(0, Vcal3, phase_shift3);          // ADC pin, Calibration, phase_shift
   ct4.voltage(0, Vcal4, phase_shift4);          // ADC pin, Calibration, phase_shift
 
-  pinMode(LEDpin, OUTPUT);                                              // Setup indicator LED
+  pinMode(LEDpin, OUTPUT);                      // Setup indicator LED
   digitalWrite(LEDpin, HIGH);
   delay(200);
   digitalWrite(LEDpin, LOW);

#define emonTxV3                                                                   // Tell emonLib this is the emonTx V3 - don't read Vcc assume Vcc = 3.3V as is always the case on emonTx V3 eliminates bandgap error and need for calibration http://harizanov.com/2013/09/thoughts-on-avr-adc-accuracy/
#define RF69_COMPAT 1                                                              // Set to 1 if using RFM69CW or 0 is using RFM12B

#include <JeeLib.h>                                                                      //https://github.com/jcw/jeelib - Tested with JeeLib 3/11/14
ISR(WDT_vect) { Sleepy::watchdogEvent(); }                            // Attached JeeLib sleep function to Atmega328 watchdog -enables MCU to be put into sleep mode inbetween readings to reduce power consumption 

#include "EmonLib.h"                                                                    // Include EmonLib energy monitoring library https://github.com/openenergymonitor/EmonLib
EnergyMonitor ct1, ct2, ct3, ct4;       

#include <OneWire.h>                                                  //http://www.pjrc.com/teensy/td_libs_OneWire.html

// All CTs are considered as enabled
const byte version = 10;

  if (ACAC) 
  {
    Serial.println("ACAC found");
    // indicate AC has been detected by flashing LED 10 times
    for (int i=0; i<10; i++)
    { 
      digitalWrite(LEDpin, HIGH); delay(200);
      digitalWrite(LEDpin, LOW); delay(300);
