![](/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:
- 13:aa50109c4cae
- Parent:
- 12:495d513bb022
--- a/main.cpp Sun Jul 20 12:54:23 2014 +0000 +++ b/main.cpp Sun Jul 20 13:53:17 2014 +0000 @@ -133,7 +133,7 @@ xbee.printf(buf); //Humidity measurement P16 analog-in2 - const float SRH = ( ( ain_Humidity / 5.0 ) - 0.16 ) / 0.0062; + const float SRH = ( ( ain_Humidity * 3.3 / 5.0 ) - 0.16 ) / 0.0062; const float TRH = SRH / ( 1.0546 - 0.00216 * T); sprintf(buf, "H %f ", TRH / 10.0); // maybe wrong, dirty workaround