Kuro, If you drill into here, down into the
Table of Contents by Hardware Driver Class
section, you will see a 7-segment driver example for two digits. Have you referenced the code provided there?