}
System.out.println("DEBUG: Waiting for phone to send weather information");
- //while (waitingForInterface.get()) {
- // try {
- // Thread.sleep(1000);
- // } catch (Exception e) {
- // e.printStackTrace();
- // }
- //}
+ while (waitingForInterface.get()) {
+ try {
+ Thread.sleep(1000);
+ } catch (Exception e) {
+ e.printStackTrace();
+ }
+ }
// TODO: Use a phone input interface later
- inchesPerWeek = 20.00;
+ /*inchesPerWeek = 20.00;
weatherZipCode = 92612;
daysToWaterOn = 255;
- inchesPerMinute.add(1.50);
+ inchesPerMinute.add(1.50);*/
System.out.println("DEBUG: inchesPerWeek: " + inchesPerWeek);
System.out.println("DEBUG: weatherZipCode: " + weatherZipCode);