Example PWM for PIC12F1572 Tested with Microchip xc8 v1.37 compiler. Arduino code tested with 1.0.5 release.