H-Bridges Connected to the PIC16F877 Microcontroller