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:
- 8:bd9096c4784c
- Parent:
- 3:52c1b649eb04
- Child:
- 10:443e7f741c8e
--- a/resources/temperature.cpp Tue Oct 22 10:50:05 2013 +0000 +++ b/resources/temperature.cpp Tue May 20 15:24:18 2014 +0000 @@ -8,7 +8,7 @@ #define TEMP_RES_ID "sen/temp" -static LM75B tmp(p28,p27); +static LM75B tmp(SDA,SCL); /* stored data for observable resource */ static uint8_t obs_number = 0; static uint8_t *obs_token_ptr = NULL;