MCU 6-digit display frequency counter