Go Down

Topic: Having trouble on solving the following tasks (Read 6398 times) previous topic - next topic

PaulS

One last issue in that code:
Code: [Select]
  Serial.print("Value = ");
  Serial.print(SensorValue);
  Serial.print("\t Voltage = ");
  Serial.print(Vout);
  Serial.print(" V");
  Serial.print("\t Resistance = ");
  Serial.print(ThermResist);
  Serial.println(" Ohm");
     Serial.print(Table[i][0]);
     Serial.print("\t");

The wrong line used println() instead of print().

tuxduino


Jonraptor


One last issue in that code:
Code: [Select]
  Serial.print("Value = ");
  Serial.print(SensorValue);
  Serial.print("\t Voltage = ");
  Serial.print(Vout);
  Serial.print(" V");
  Serial.print("\t Resistance = ");
  Serial.print(ThermResist);
  Serial.println(" Ohm");
     Serial.print(Table[i][0]);
     Serial.print("\t");

The wrong line used println() instead of print().

Thanks for the advice PaulS :).

Go Up
 


Please enter a valid email to subscribe

Confirm your email address

We need to confirm your email address.
To complete the subscription, please click the link in the email we just sent you.

Thank you for subscribing!

Arduino
via Egeo 16
Torino, 10131
Italy