mDot processor with ROHM sensor board on UDK2.
Dependencies: MbedJSONValue libmDot mbed-rtos mbed
Fork of VVV_MultiTech_Dragonfly_ATT_Dallas by
Revision 7:dd550a829ece, committed 2015-12-11
- Comitter:
- BlueShadow
- Date:
- Fri Dec 11 16:00:08 2015 +0000
- Parent:
- 6:7946b5c2376a
- Child:
- 8:720595aa7bfd
- Commit message:
- Dragonfly Class in Dallas 12/11/2015. Rohm Sensor board AT&T SIM
Changed in this revision
| main.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/main.cpp Wed Dec 09 21:35:00 2015 +0000
+++ b/main.cpp Fri Dec 11 16:00:08 2015 +0000
@@ -78,7 +78,7 @@
// APN associated with SIM card
// this APN should work for the AT&T SIM that came with your Dragonfly
//static const std::string apn = "";
-static const std::string apn = "broadband";
+static const std::string apn = "";
// Phone number to send SMS messages to
// just change the x digits - the 1 needs to stay!
@@ -134,8 +134,8 @@
#define COLOR //BH1745
#define KX022 //KX022, Accel Only
#define Pressure //BM1383
-#define SMS //allow SMS messaging
-#define Web //allow M2X communication
+//#define SMS //allow SMS messaging
+//#define Web //allow M2X communication
//Define Pins for I2C Interface
@@ -732,7 +732,7 @@
printf(" Blue = %d ADC Counts\r\n",BH1745[2]);
printf(" ALS = %0.2f lx\r\n", RPR0521_ALS[0]);
- printf(" PROX= %u ADC Counts\r\n", RPR0521_ALS[1]); //defined as a float but is an unsigned.
+ printf(" PROX= %u ADC Counts\r\n", RPR0521_ALS[1]); //defined as a float but is an unsigned, bad coding on my part.
printf("KMX62 Accel+Mag Sensor Data:\r\n");
printf(" AccX= %0.2f g\r\n", MEMS_Accel[0]);
