I make load indicator with loadcell, i using pic 16f877. For 16 bit adc i using cd4066 , value from -65535 to +65535 with peak hold
I setup - reading
B0 var word ( reading of adc )
B1 var word
B2 var byte
main: if B0 > 0 then ( B1 = B0 ) and ( B2 = 43 ) ' 43 is + sign
if B0 < 0 then B1 = ( 65535 - B0 ) and ( B2 = 45 ) '45 is - sign
lcdout $fe,1
lcdout " Load ", B2, dec5 B1
Bookmarks