![](/media/cache/profiles/6f7790bb54a7c5d3dea27385488a604a.jpg.50x50_q85.jpg)
putting strings to xbee
Dependencies: BMP085 SDFileSystem mbed JPEGCamera
Fork of SaibiCansat2014 by
Diff: main.cpp
- Revision:
- 3:7ea76022b5eb
- Parent:
- 2:71f75585db19
- Child:
- 4:05e46365f442
--- a/main.cpp Mon Jul 14 09:42:11 2014 +0000 +++ b/main.cpp Mon Jul 14 10:02:53 2014 +0000 @@ -10,6 +10,7 @@ BMP085 bmp085(p28, p27); Serial pc(USBTX, USBRX); +Serial xbee(p13, p14); AnalogIn ain_CDS(p15); AnalogIn ain_Humedity(p16); @@ -80,6 +81,7 @@ //BOSH BMP085 Barometric pressure,temperature measurement accelerometer.getOutput(readings); pc.printf("ADXL345 ------------------------\n"); + xbee.printf("ADXL345 ------------------------\n"); pc.printf(" %+4.2f, %+4.2f, %+4.2f\n", (float((int16_t)readings[0]+18)/256), (float((int16_t)readings[1]-4 )/256),