I'm trying to send from my arduino uno temperature values to my PC through the serial port, then getting the values in CVI and printing them to a text box/numeric box.
I got really confused about what I should send and how, and what I'm receiving and how.
The temperature (and also humidity and heat index) on the DHT11 are saved with this function:
float t = dht.readTemperature();
as a float.
Next, I want to send that float value, t, through the serial port.
On CVI I should receive a buffer from type char[ ], and then print it.
I thought about casting the float as a byte, but I'm not sure what will be sent, the entire value or just a part of it?
Also when receiving, the data arriving is the float value but written like a string?
I wish arduino had debugging so I could see the values in real time.