William Bross cinci.rr.com> writes: > I loaded up the example into MPLAB-X, compiled and ran the simulator=20 > since I don't have a part. The example code runs fine. The output will=20 Thanks. I answered this but my answer got lost/misplaced somehow. > Comparing the hex file I generated vs. the included one -- they are=20 > different. But I'm using the free bloatware version of xc and I'm sure=20 I programmed different code into the pic and it works fine, it's the pwm code that acts strange. Did not build it for now, had other things to do. I confirm that the hex file in the pwm project does not do what the label say= s. --=20 http://www.piclist.com/techref/piclist PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist .