Go Down

Topic: Having trouble on solving the following tasks (Read 5435 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