>Hey! >I have coded a program of LM35 sensor to display temperature on 7seg. >My code worked fine on 16F877 but due to some bogus experiments i >damaged 877 and got 877A. >I programmed it well but my program on this doesn't work then i tried >to b'01010101' --> PORTB to check LED. It brightened LEDs for an >instant when i put my finger on uC. >My 877 config fuses are as follow: >__CONFIG _XT_OSC & _CP_OFF & _LVP_OFF & _PWRTE_ON & _WDT_OFF >is there any other fuse do i need to add ? >Besides that im using 4Mhz crystal of previous experiment. >Thanks >X4ce If the 877a seemed to work for a moment when putting a finger on it it might just be the oscilator not working. I would try the HS oscilator mode which has higher gain. 4Mhz is at the frequency where there is no clear choice of XT or HS mode Peter van Hoof -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist