![]() Also, if you don't do it, some of the character sequences in the code can be misinterpred by the forum code as italics or funny emoticons. It makes it easier to read, and can be copied with a single mouse click. The code tags make the code look like this In this case, the problem is that you have posted code without using code tags. Making an effort to do this will greatly increase the number and quality of helpful responses that you get. The forum link above has guidelines for posting in a standard way that makes it easiest for people to provide you with useful answers. It is important to provide as much of the information that is needed to solve your problem as you can, in your first posts. Useful links - check here for reference posts / tutorials You may also find useful information that would answer your question here: Read this before posting a programming question. This two integers can be transmitted as two char* now.General Guidance and How to use the Forum and A simple one is to take the truncated integer part of your humidity value into int A and the scaled floating part into int B. You can try to send the humidity value as a tupel of two int values. So then your float to char* problem turns into a int to char* problem. print(buf) // the received data is stored in buffer Message with a good checksum received, dump it. If (vw_get_message(buf, &buflen)) // Non-blockingÄigitalWrite(13, true) // Flash a light to show received good message ![]() Vw_rx_start() // Start the receiver PLL running Vw_set_ptt_inverted( true) // Required for DR3100 Remote Receiving Temparature and Humidity over RF Link to LCD Display
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |