2 load sensors on a hx711

I'm confused. Do I create 2 instances of a scale, or will it read 2 sensors with just one instance of Hx711?

A) this

Hx711 scaleA(2, 3); //2 sensors wired into a+ a- b+ b-

or B)

Hx711 scaleB(2, 3); //1 sensor wired into b+ b-

Hx711 scaleA(4, 5); //1 sensor wired into a+ a-

Also I read somewhere I have to set the gain on the B channel. I'm confused on this.

Is there a simple example script somewhere showing code for 2 load sensors?

Thanks.

DivinerGregg: Also I read somewhere I have to set the gain on the B channel. I'm confused on this.

The datasheet is a good place to start. It will tell you that Channel B has a fixed gain of only 32 (vs 128 or 64 for channel A), and it will tell you how to read Channel B (and set the gain on A).

Or, read the "readme" for the library you're using, or look at the code in the library. The bogde library readme talks about how to select Channel A and B, and set the gain for A... https://github.com/bogde/HX711/blob/master/README.md