I know you are trying to help. And I appreciate it. I dont understand that code you sent.
I really wanted just the answers to those two issues so i can do 100% in PBP.
here is my code to read hx711 , what part is not pbp code ?


Code:
read_hx711:
WHILE HX_OUT : WEND    ;data ready
    for HX711_bits = 23  to 0  step -1    ;read data
        HX_SCK  =  1
        @ NOP
        @ NOP
        HX711_reading.0[HX711_bits] =  HX_OUT 
        HX_SCK  =  0 
        @ NOP
        @ NOP
        @ NOP
        @ NOP
        @ NOP
        @ NOP
    NEXT
;set_hx711_gain    
    for HX711_bits = 0 to hx711_gain;  send    GAIN
        HX_SCK  =  1
        @ NOP
        @ NOP
        @ NOP
        HX_SCK  =  0 
        @ NOP
        @ NOP  
        @ NOP
    NEXT 
return