Skip to content

Instantly share code, notes, and snippets.

@kuc-arc-f
Created April 27, 2015 08:46
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kuc-arc-f/da189e1a096dbd34e175 to your computer and use it in GitHub Desktop.
Save kuc-arc-f/da189e1a096dbd34e175 to your computer and use it in GitHub Desktop.
mbed-analog-Input-2
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