   debug.print(aantal);
   debug.print("\n");
   aantal = aantal +1;
-  Device.Send(value, NUMBER_SENSOR, true);
+  Device.Send(value, NUMBER_SENSOR, ack);
+  //ack = !ack;
 }
 

  float Rsensor = SensorValue * 3.3 / 1023;
  value = pow(10, Rsensor);
  SendValue();
  delay(60000);

  //Modem.PrintModemStatus();
  Modem.PrintModemConfig();
}

void SendValue()


float value = 0;
int aantal = 0;
bool ack = true; 

void loop()
{  
  debug.print("\n");
  debug.print("\n");
  
