What I mean, is when I use arduino compiler and hit serial monitor, I get the temperature.
That's good, sounds like the Arduino is sending the data correctly.
But when I ran the code you posted,
Suitably modified I hope.
But the value from temp didn't change when I put heat on it.
Was the value reasonable, or rediculous like 5000 degrees.
If I understand it right, when I program arduino like "Serial.print"
This is what it sends to serial port?
Correct.
In my code showed above,
Set DTR and RTS
.DtrEnable = True
.RtsEnable = True
I don't think you want to enable the hardware handshaking, get rid of these lines. VB is probably waiting for DTR or RTS to be set.
how can I do this?
Something like
s = SerialPort1.ReadLine()
TextBox1.Text = TextBox1.Text + s + vbCrLf
Rob