I have solved my problem of flickering of the negative and positive voltages, change in the source code the pic 16f877a and use the pic 16f886.
the only thing left for me is to buy pic 16f886 and design the pcb for the symmetrical source and present the project to the university.
I really received little help in this forum