PIC micro C code Help

Discussion in 'General Electronics Chat' started by dumindu89, Aug 7, 2012.

  1. dumindu89

    Thread Starter Member

    Oct 28, 2010
    Hello, I need the code (for micro C software) for PIC16F877A which get the input frequency from an external crystal and divide it a some integer number and output the divided frequency as a square wave.

    If anyone know please post it here.

    And also what pins I should use for this purpose?

    Thanks in advance.