charu2539211
Junior Member level 3
Hi.
I am working on a project in which I have to make a 7 segment display to work controlled by PIC16f887. i am writing the code in Assembly language. the pic would generate serial data which is given to 74hc164n (8 bit serial in parralel out shift register). the output from 74hc164n is given to the 7 segment display.
I would like to know how i can sync the clock cycles which i have to generate from the microcontroller with the microcontroller frequency. Can anyone help me with a code for this or at least an algorithm would do.
you ll fiind the screen shot of the circuit in the below URL
https://obrazki.elektroda.pl/4775218100_1374472338.jpg
thanks
I am working on a project in which I have to make a 7 segment display to work controlled by PIC16f887. i am writing the code in Assembly language. the pic would generate serial data which is given to 74hc164n (8 bit serial in parralel out shift register). the output from 74hc164n is given to the 7 segment display.
I would like to know how i can sync the clock cycles which i have to generate from the microcontroller with the microcontroller frequency. Can anyone help me with a code for this or at least an algorithm would do.
you ll fiind the screen shot of the circuit in the below URL
https://obrazki.elektroda.pl/4775218100_1374472338.jpg
thanks