HC-12

Dear,

I have a question about the HC-12, i send data to a slave, now i have following issues... I have malfunctions, data that I receive is cut of. I wanted to make a checksum in C++. But I wanted to make the checksum with the bits of the data. plz help.

Greetings.

(deleted)

Hi,
I found this on the internet. Serial Input Basics - updated - Introductory Tutorials - Arduino Forum

I want to use example 5 and there they say:
Serial.println("Enter data in this style <HelloWorld, 12, 24.7> ");
to print a float value.
but i have a variable as a float (temp) so i tried this
Serial.println("Enter data in this style <HelloWorld, 12, temp> ");
but it didn't work.
I hope you can help.

greetings.

1000Arduinoquestions:
but i have a variable as a float (temp) so i tried this
Serial.println("Enter data in this style <HelloWorld, 12, temp> ");
but it didn't work.

Just deal with it line by line like this

Serial.print("<HelloWorld, 12,");
Serial.print(temp);
Serial.println('>');

...R
PS ... I don't follow this section of the Forum (I just don't have the time) and wireless problems are usually in the Networking section which I do follow.