There goes some tips:
-
You didn´t read How to get the best out of this forum , otherwise you would have posted your code in code tags and properly formatted.
-
You´re printing the result of
scale.get_units(), then usingscale.read ()- a raw value - in your if statement. Each of these functions bring different values. -
What happens to the leds if the weight is between 0.75 and 1.25?