In addition to giving him an opportunity to work on some code, the use of an 8-pin chip provides a design ... You can see a pair of transistors above; one is a PNP, the other an NPN.