fixed bugs on NPN and PNP library, IR module and Pyramid Shield