Load cell

Hello guys and girls

I would like to make a load cell to be used with pulling force. I downloaded the code from project on sparkfun website. But I also need to add a button that if you press it will shows you a peak pull force. Is this possible?

Simple code for this:

if ( Force > PeakForce ) {

PeakForce = Force;

}

and, of course, you will need some code to examine the pushbutton and react to it

<Well, I was going to use code tags but the most recent change in the forum neither recognizes them nor does the full editor have any formatting code>

<edit: now the formatting stuff is there but the preview doesn’t format for the tag>