From 5784e95686263316c863cfa1d9549e882c71fcbc Mon Sep 17 00:00:00 2001 From: Cedar Grove Maker Studios Date: Tue, 26 Jul 2022 21:59:20 -0700 Subject: [PATCH] update docs --- examples/clue_scale_dual_chan_code.py | 2 +- examples/clue_scale_single_chan_code.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/clue_scale_dual_chan_code.py b/examples/clue_scale_dual_chan_code.py index f11552e..1c9598a 100755 --- a/examples/clue_scale_dual_chan_code.py +++ b/examples/clue_scale_dual_chan_code.py @@ -26,7 +26,7 @@ SAMPLE_AVG = 100 # Number of sample values to average CHAN_1_LABEL = "SHOT" # 6 characters maximum CHAN_2_LABEL = "BEANS" # 6 characters maximum -# Load cell dime-weight calibration ratio; 2.268 oz / ADC_raw_measurement +# Load cell dime-weight calibration ratio; 2.268 grams / ADC_raw_measurement # Obtained emperically; individual load cell dependent CALIB_RATIO_1 = ( 100 / 215300 diff --git a/examples/clue_scale_single_chan_code.py b/examples/clue_scale_single_chan_code.py index 71eb1ef..56a4e27 100755 --- a/examples/clue_scale_single_chan_code.py +++ b/examples/clue_scale_single_chan_code.py @@ -33,7 +33,7 @@ composed of the reference weight in grams divided by the raw reading. For example, a raw reading of 215300 for a 100 gram weight results in a calibration ratio of 100 / 215300. Use the clue_scale_single_calibrate method to obtain the raw value. -FYI: A US dime coin weighs 2.268 ounces or 64.3 grams.""" +For referency, a US dime (10-cent) coin weighs 2.268 grams.""" CALIB_RATIO_1 = 100 / 215300 # load cell serial#4540-02 # Instantiate 24-bit load sensor ADC