I am kind of the to the whole thing. Had C and some basic µC programming back in the university.
At the moment I am “learning” the basics and want to transfer Data between 2 Arduinos. The first step was some kind of tutorial from instructables, which worked perfectly fine.
Today I wanted to take the next step in sending 2 Values from a DHT22 to the 16x2 LCD. I somehow got it to work, altough I dont understand all the code.
Next step would be to add commas.
I understand I have to use floats instead of ints? But if I change the programm to float (sprintf(string1, “%f,%f”, temp, hum); even the string1 shows just ?,?
I added my code, so maybe you understand my problem.
regards from germany
RX_MehrereDaten.ino (713 Bytes)
TX_MehrereDaten.ino (436 Bytes)