crjeder / hx711_spi

This is a library for the hx711 chip. It uses SPI instead of bit banging for more reliability.
MIT License
15 stars 4 forks source link

everyting together #25

Closed crjeder closed 4 months ago

crjeder commented 4 months ago

I was talking about this code:

my_hx711.set_mode(Mode::ChAGain128);
value1_chanel_a = my_hx711.read()?
value2_chanel_a = my_hx711.read()?
my_hx711.set_mode(Mode::ChBGain32);
value_chanel_b = my_hx711.read()?

It's a code fragment not an complete example. Sorry for the misleading post.