Ag demo with soil moisture

Dependencies:   DOGS102 ISL29011 MMA845x MPL3115A2 NCP5623B libmDot mbed-rtos mbed-src

Fork of MTDOT-EVBDemo-DRH by Dave Heitzman

Revision:
1:ac9595d0f0e7
Parent:
0:bdd16076aaa5
Child:
2:75adc72aa6a0
--- a/main.cpp	Mon Jul 06 19:58:08 2015 +0000
+++ b/main.cpp	Mon Jul 06 21:10:10 2015 +0000
@@ -2,7 +2,7 @@
  * @file    main.cpp
  * @brief   Main application for mDot-EVB demo
  * @author  Tim Barr  MultiTech Systems Inc.
- * @version 1.0
+ * @version 1.01
  * @see
  *
  * Copyright (c) 2015
@@ -18,6 +18,8 @@
  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  * See the License for the specific language governing permissions and
  * limitations under the License.
+ *
+ * 1.01 TAB 7/6/15 Removed NULL pointer from evbAmbientLight creation call.
  */
 
 #include "mbed.h"
@@ -134,11 +136,11 @@
 //  mDotUART.baud(9600);    // mdot UART unused but available on external connector
 
     thread1 = new Thread(config_pkt_xmit);
-    evbAccel = new MMA845x(mDoti2c,MMA845x::SA0_VSS); // setup Accelerometer
+    evbAccel = new MMA845x(mDoti2c,MMA845x::SA0_VSS); 	// setup Accelerometer
     evbBaro = new MPL3115A2(mDoti2c);					// setup Barometric sensor
-    evbAmbLight = new ISL29011(mDoti2c, NULL); 		// Setup Ambient Light Sensor
+    evbAmbLight = new ISL29011(mDoti2c);		 		// Setup Ambient Light Sensor
     evbBackLight = new NCP5623B(mDoti2c);				// setup backlight and LED 2 driver chip
-    evbLCD = new DOGS102(mDotspi, mDot17, mDot13);	// setup LCD
+    evbLCD = new DOGS102(mDotspi, mDot17, mDot13);		// setup LCD
 
     printf("\n\r setup mdot\n\r");