Please help me to develop a code in PIC16F877A for zero crossing detection in a sine wave from supply. I/P sine wave has to be directly fed to the B0 interrupt pin.
why don't you post what all efforts that you had done? and where you got struck-ed?
our friends here are there to support you and help to solve the problems that
you face in your developments. not to design the entire system for you
and you will not learn and they will not earn anything if they just post you the entire project