How to show unit "g" Serial.println(scale.get_units(2),2);

Welcome to the forum

You started a topic in the Uncategorised category of the forum when its description explicitly tells you not to

Your topic has been moved to a relevant category. Please be careful in future when deciding where to start new topics

One way to do it is this way

  Serial.print(scale.get_uinits(2),2);
  Serial.println("g");
1 Like


Thank you Sir, it works.

If you have another question in the future, please read this first How to get the best out of this forum
Please don't post images of code and serial output. Instead post your code using code tabs. Click on this button
image
then paste your code where it prompts you to post it.
Do the same for serial monitor contents

1 Like