 
 #include "FreqCount.h"
 
-#define SEND_INTERVAL 10 // Interval between consecutive data sends (in seconds)
+#define SEND_INTERVAL 30 // Interval between consecutive data sends (in seconds)
 
 // Constants
 // Digital I/O pins

  pressure = myPressure.readPressure();

  // Calc light level
  light_lvl = get_light_level();

  // Calc pH
  ph = analogRead(PH_PIN) * 5.0 / 1024;
  ph = 3.5 * ph + PH_OFFSET;

  // Calc orp
  orp = (30.0 * SYSTEM_VOLTAGE * 1000.0) - (75.0 * analogRead(ORP_PIN) *
      SYSTEM_VOLTAGE * 1000 / 1024.0);
  orp = (orp / 75.0) - ORP_OFFSET;

  // Calc EC
  ec = FreqCount.read();
  // TODO: calibrate value

  // Calc water temperature
  wtemp = get_water_temperature();

const byte FONA_RST = 12;
const byte FONA_EN_BAT = 13;

const byte MULT_A = 42;
const byte MULT_B = 43;
const byte MULT_C = 40;

// Analog I/O pins
const byte LIGHT = A13; // Not currently used
const byte REFERENCE_3V3 = A3; // Not currently used
const byte WDIR = A0; // Not currently used
const byte PH_PIN = A12;
const byte ORP_PIN = A11;
const byte WTEMP_PIN = 20;

const byte S1_EN = A5; // S1: EC sensor
const byte S2_EN = A6; // S2: ORP sensor
const byte S3_EN = A7; // S3: pH sensor

// Conductivity sensor (EC) uses pin 47 and disables pins 9, 10, 44, 45, 46.

// Offset values
