rainyshadow, I connect the pot to each of the TH pins and the + pin. But the display was sold on with the segments, i'm posing a circuit diagram and the segment on picture.
By the ways, I connect one of the TH pins to the positive from the pot, ground is going to the IC chip, I think so when I connect the circuit on the diagram, as I was adjusting the resistance it made the
display segments stay sold on, but when I disconnect one of the wires from the TH pin, it was flashing when I make the resistance higher and sold on at max resistance, same thing on the other end of the pot, I was sold on but when I increase the resistance higher, it was flashing too. Don't know how but the two TH pins are somehow in a loop circuit with makes the display segments flash.
But it's flashes opposite than the other TH pin. It must have reverse the segments on the display like inverting it, so that cob chip must be doing something with the circuit.
Here's the diagram.

This is the wiring at the top.