The 7-SEG LED is used widely as it can display digits directly and it is convenient to use. Accordingly, the function of displaying digits by scan is newly added in EzCode4F V2.30, which can drive up to 8-com*7-SEG LEDs for the same time and can greatly reduce programming work for engineers.
In this article, we’ll take the display of 4-com*7-SEG LEDs as an example to show you how to use this function. To achieve this, do the following:
1. Select the proper AM4F Body.
2. Add Input and Output pins in IO Pin page. Note that the COM and SEG pins for LED must be the independent output ports.
In Matrix LED page, set output pins for driving number ‘8’. See the figure 1:

There are 2 ways to do display:
1. Use DLP function to output display. Yet this way is only suitable for Number 0~9.
2. Use Matrix Led State to realize display directly. This way is suitable for all symbols’ display. (e.g. Display letter ‘A’.)
... ...