TM1637 segment mapping issue

Hello ,

I am working with TM1637 connected to external micro-controller MSP430 and implemented the I2C bit banging and able to display some numbers.

The data for 0 => 0x7F . But the library and definition tells it should be 0x3F. What can be the issue?

Actual segment mapping in the document is XGFEDCBA but we are getting the data in the following format: GFEDCBAX . Therefore we are not able to turn OFF the colon .
Kindly please help me.