Adding setup picture that matches the program code in terms of pins and sensor setup.
authorrtrimana <rtrimana@uci.edu>
Mon, 16 Apr 2018 17:02:38 +0000 (10:02 -0700)
committerrtrimana <rtrimana@uci.edu>
Mon, 16 Apr 2018 17:02:38 +0000 (10:02 -0700)
version2/src/C/Sensor-Arduino.ino
version2/src/others/setup/PHOTON-sensor.jpg [new file with mode: 0644]

index 214447e6368c2e91887ec2033405074871deb3b2..22d9105c7d72653b17ca65ee148c09bf6b9e9915 100644 (file)
@@ -10,7 +10,7 @@
 #define PWRPIN                 D5              // Power pin
 #define DHTTYPE                DHT22   // DHT 22  (AM2302)
 // IoTCloud
-#define SLEEP_TIME             10              // Sleep time in seconds
+#define SLEEP_TIME             1800    // Sleep time in seconds
 
 // Initialize DHT sensor for normal 16mhz Arduino
 DHT dht(DHTPIN, DHTTYPE);
diff --git a/version2/src/others/setup/PHOTON-sensor.jpg b/version2/src/others/setup/PHOTON-sensor.jpg
new file mode 100644 (file)
index 0000000..8e9ca4e
Binary files /dev/null and b/version2/src/others/setup/PHOTON-sensor.jpg differ