From d0851d439a1fa71814e279342279870b186734f8 Mon Sep 17 00:00:00 2001 From: chris Date: Fri, 30 Oct 2015 23:27:31 -0700 Subject: [PATCH] doc hx711 update --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index c5f50aae..8b0f375e 100644 --- a/README.md +++ b/README.md @@ -578,8 +578,8 @@ json_text = cjson.encode(value) Note: currently only chanel A with gain 128 is supported. The HX711 is an inexpensive 24bit ADC with programmable 128x, 64x, and 32x gain. ```lua - -- Initialize the hx711 with clk and data pin assignments + -- Initialize the hx711 with clk on pin 5 and data on pin 6 hx711.init(5,6) -- Read ch A with 128 gain. - raw_data = hx711.read() + raw_data = hx711.read(0) ```