This function sets the value sets the passed hexadecimal value to one of the four 7-segments displays, otherwise, it sets the value for the 4 7-segments displays.
void setHexValue (unsigned int value) void setHexValue (unsigned int value, unsigned int digit)
value : the integer vaue to be displayed digit : position of the 7-segments to be set