Author Topic: Delay time in milliseconds for Soilwatch10  (Read 8039 times)

mastassociatisrl

  • Newbie
  • *
  • Posts: 3
Delay time in milliseconds for Soilwatch10
« on: February 15, 2018, 10:33:27 AM »
Can it's possible set the delay time in 900000 milliseconds?

pinolec

  • Administrator
  • Jr. Member
  • *****
  • Posts: 99
Re: Delay time in milliseconds for Soilwatch10
« Reply #1 on: February 15, 2018, 11:33:25 AM »
Hi,

It should be possible. Paste some code and we will have look.

mastassociatisrl

  • Newbie
  • *
  • Posts: 3
Re: Delay time in milliseconds for Soilwatch10
« Reply #2 on: February 16, 2018, 07:44:18 AM »
// print mapped results to the serial monitor:
Serial.print("Moisture value = " );
Serial.println(mappedValue);
 
// wait 500 milliseconds before the next loop
delay(900000);
}

pinolec

  • Administrator
  • Jr. Member
  • *****
  • Posts: 99
Re: Delay time in milliseconds for Soilwatch10
« Reply #3 on: February 16, 2018, 10:04:35 AM »
It works perfectly for me. It delays reads by 15 minutes.