Declaration of function cannot work in different board

Mr. gfvalvo, i tried deleted everything lcd-related , but the MQCalibration still is the problem,
May I know the coding compiled fine for u ?