HX711 scale(DOUT, CLK); // this line has three important values.
- The name "scale"
- datapin number
- clockpin number
Now change/add all the #define and names for that first sensor, and see if the sketch still works.
Example:
#define DOUT1 3 // pin3
#define CLK1 2 // pin2
HX711 scale1(DOUT1, CLK1);
scale1.tare();
etc.
Then add the second one.
#define DOUT2 5 // pin5
#define CLK2 4 // pin4
HX711 scale2(DOUT2, CLK2);
scale2.tare();
etc.
Post your attempt (inside code tags).
Leo..