Is there any solution for this problem?
Can you post some links/examples please?
const char * timestamp = "2012.10.13"; float voltage = 4.59; float current = 0.36; float power = 1.65; int size_of_float = sizeof(float); int size_of_timestamp = strlen(timestamp); uint8_t buffer[size_of_timestamp+size_of_float*3]; void *p = buffer; memcpy(p, (void *)timestamp, size_of_timestamp); p += size_of_timestamp; memcpy(p, (void *)&voltage, size_of_float); p += size_of_float; memcpy(p, (void *)¤t, size_of_float); p += size_of_float; memcpy(p, (void *)&power, size_of_float); vw_send(buffer, sizeof(buffer));
With Quick-Reply you can write a post when viewing a topic without loading a new page. You can still use bulletin board code and smileys as you would in a normal post.
Warning: this topic has not been posted in for at least 120 days.Unless you're sure you want to reply, please consider starting a new topic.