Code for segmented (7) LCD display with 4 digits