Beginner question: I'm using a Pro Mini & 16x2 LCD to display the output from a 100 gram load cell; this part works. I'd like to add a second LCD line the gives the load in grains. Seems like just multiplying the gram value by 15.42 should work but I'm obviously missing something. I've tried all kinds of things and the sketch compiles ok but all I get is a widely varying grain value or a zero. Can someone please help?
void loop() {
lcd.setCursor (7,0);
lcd.print (scale.get_units(),0);
lcd.setCursor (4,2);
Grains = (scale.get_units(),0) * 15.42;
lcd.print (Grains);