Created
April 27, 2015 08:46
-
-
Save kuc-arc-f/da189e1a096dbd34e175 to your computer and use it in GitHub Desktop.
mbed-analog-Input-2
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
float fSen = inSen1; | |
iSen = int(fSen * 1000); | |
char buff[]="0000"; | |
string sPut="put_dat="; | |
sPut += conv_zeroStr(MC_ID ,4); | |
sprintf(buff, "%d", iSen); | |
mPc.printf("%s\n", sPut.c_str() ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment