This application note describes how to drive a 4-digit 7-segment display using the STR71x GPIOs
The document explains how to drive seven-segment LED displays, which consist of segments labeled a through g and a decimal point (DP). It covers both common cathode and common anode configurations. The note details the hardware layout for multiplexing four displays using STR71x I/O lines with sink transistors.
The refresh frequency must be at least 25 cycles per second.
Each display is turned on for a duration of 5 ms.
A 20 ms cycle gives an update rate of 50 Hz.