cellular port
Dependencies: Beep C027_Support C12832 LM75B MMA7660 mbed-rtos mbed nsdl_lib
This is a port of the NSDL HelloWorld for cellular.
To run the example you need a C027 and the ARM mbed application shield. The example uses cellular instead of ethernet and takes the true position from the GPS instead of using a fixed position.
Diff: resources/temperature.cpp
- Revision:
- 12:2799b212c729
- Parent:
- 10:443e7f741c8e
--- a/resources/temperature.cpp Wed Jun 18 08:29:25 2014 +0000 +++ b/resources/temperature.cpp Fri Jun 20 12:11:44 2014 +0000 @@ -8,7 +8,7 @@ #define TEMP_RES_ID "sen/temp" -static LM75B tmp(SDA,SCL); +static LM75B tmp(D14/*SDA*/,D15/*SCL*/); /* stored data for observable resource */ static uint8_t obs_number = 0; static uint8_t *obs_token_ptr = NULL;