![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
Dragonfly Class in Dallas 12/11/2015. Rohm Sensor board AT&T SIM
Dependencies: MbedJSONValue mbed mtsas FXAS21002 FXOS8700
Fork of VVV_MultiTech_Dragonfly_ATT_Dallas by
Diff: main.cpp
- Revision:
- 7:dd550a829ece
- Parent:
- 6:7946b5c2376a
- Child:
- 8:a09dd040bb4b
--- 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]);