Format and order defines
Added define to enable/disable debug in readAndResetAverageVoltage