pic16f876 lm35 led display schematics
Do you really need a 40 pin PIC the PIC16F818/9 have 5 ADC channels on port a and you are left with 8 pins on port B to drive your LED display you can use RA6 and RA7 as display select, all you do is place your data for the first display on port B that is connected to the 7 segments of both displays, you display one display at a time by pulling the cathode low for some mill seconds then the data for the second display on port B and pull down the second display cathode see diagram