Hello List, I have a design using an 16F877, with the port C driving a 7 segment = display. The 4 digits are driven by port B. All was well till I decided = to add a certain feature that required the hardware PWM. Since I had an = extra pin on port C, I re-wrote the display driver such that all the = other 7 pins besides port C.1 are used by the display, leaving C.1 for = the HPWM out. Now, I find that the display is beving in a very unexpected manner.=20 Was it a bad idea to share the display and the HPWM on the same port? Or = can I mask the display output on port C to ignore the PWM output = (although the display itself does not use it)? Or is the only soution to relocate the display to another port? Thanks in advice for any suggestions. Anand Dhuru -- http://www.piclist.com hint: The PICList is archived three different ways. See http://www.piclist.com/#archives for details.