Dave H's version of the EVB Demo. Sends to specific conduit, and sends with a comma separated text string
Dependencies: DOGS102 ISL29011 MMA845x MPL3115A2 NCP5623B libmDot mbed-rtos mbed-src
Fork of MTDOT-EVBDemo by
Revision 1:ac9595d0f0e7, committed 2015-07-06
- Comitter:
- falingtrea
- Date:
- Mon Jul 06 21:10:10 2015 +0000
- Parent:
- 0:bdd16076aaa5
- Child:
- 2:75adc72aa6a0
- Commit message:
- Ver 1.01 Removed "NULL" from instantiation of evbAmbientLight
Changed in this revision
ISL29011.lib | Show annotated file Show diff for this revision Revisions of this file |
main.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/ISL29011.lib Mon Jul 06 19:58:08 2015 +0000 +++ b/ISL29011.lib Mon Jul 06 21:10:10 2015 +0000 @@ -1,1 +1,1 @@ -http://developer.mbed.org/teams/Multi-Hackers/code/ISL29011/#b37e4acdfa7b +http://developer.mbed.org/teams/Multi-Hackers/code/ISL29011/#f5b5a0477f46
--- 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");