how to design totem pole using NPN AND PNP transistor for more check this link <br />http://microcontrollerslab.com/totem-pole-tutorial/