#include #include #include #include "Command.h" Command command; char buf[255]; void wifi_print(char * s,double num) { char str[255]; char n[255]; sprintf(n, "%.2f",num); strcpy(str,s); strcat(str, n); strcat(buf+strlen(buf), str); strcat(buf, ","); } float v = 0.1; void re_command(float *num) { *num = *num + 1; } //void doTarget(char* cmd) { command.scalar(&v, cmd); } main() { command.run(); }