9 years ago.

sending sensor values on GSM using SMS

I am working on a project which involves sending sensor reading on GSM network using SMS. I am able to send normal text messages.

I am limited to const char* variable type. sensor reading from temperature sensor LM75B (temp sensor on application board) is a float variable. Is there a way to convert variable type?

using Vodafone Modem K3772, mbed LPC 1768

/media/uploads/b4000806/screen_shot_2015-04-23_at_00.08.13.png

1 Answer

9 years ago.

a basic C or C++ programming question! I use often a sprintf http://www.cplusplus.com/reference/cstdio/sprintf/

Accepted Answer