Peter McNulty wrote: > Does anyone have tested and working code for ADC on theP16F877. What i > need is the code just to print the value of the ADC from some input, to 10 > LEDs. I've got 8 LED's working, but either I'm missing something, or my PIC is > bad, as i can't get the last two LSB's. They are permanently on or off, don't > change. The code I'm using is below, but if you have any of your own code > which does this, it'd be ver y much appreciated. > Subject: Re-All: [OT]: Temperature Sensors? > Thanks for the recommendations everyone. It looks like=20 > I'll take the RTD route as they are fairly linear, cheap,=20 > fast reponse time ... If you have money for RTD, maybe it would be better=20 to spend them on PIC18FXXXX ? If you have to learn PICs, learn real :-) ones not garbage.=20 Did you wrote yesterday: "This is a school project" ? Mike. -- http://www.piclist.com hint: To leave the PICList mailto:piclist-unsubscribe-request@mitvma.mit.edu