For my particular project I have a 8 digital IO that I am trying to connect and therefore would like to use the PbHub connected to the M5StickC to expand the IO (as they advertise). I also have the weight module which works fine if I connect this directly to the M5StickC grove port.
So now I must choose between using a PbHub or a Weigh module. I had thought it possible to add the weigh module to one of the ports on the PbHub however after experimenting with different pin combinations for initializing the HX711 scale i.e.
HX711 scale(33, 32); // This works when the weigh unit is connected to the grove port on the M5StickC
// Below are the other combinations I tried for passing the necessary pins to the HX711 through the Mega328 without any success.
//HX711 scale(porthub.hub_d_read_value_B(4), porthub.hub_d_read_value_A(4));
HX711 scale(porthub.hub_a_read_value(4), 32);
//HX711 scale(porthub.hub_d_read_value_A(4), 32);
//HX711 scale(porthub.hub_d_read_value_B(4), porthub.hub_d_read_value_A(4));
//HX711 scale(porthub.hub_d_read_value_A(4), porthub.hub_d_read_value_B(4));
Unfortunately, I think @felmue is right. The Mega328 isn't able to forward the clock required by the HX711 chip.