--- In , "randy ram" <anilram@e...> wrote: > If you think that you are going to use the f877 more than the 16f84 hten just beging with the 16f877. The question I think you want to ask is what is the diference between 16f84 and the 16f877? The 16f877 has more bells and wistles. I think you have two options here. You could either use the Analog to digital capabilities of te 16f877 or just use the code and circuit written for the 16f84. Just copy paste the code for the 16f84 into the 16f877. Then change a few lines here and there. For example, the port being use, and make all pins on the 16f877 digital. then write the LCD code on a diferent port. SO it would lok like portA is dedicated to the tempreture reading. And port B is dedicated to the LCD output. On the other hand if you want to use the 16f877 analog to digital capabilities then more reading is required. I haven't got this far yet. The third option is just to stick with the 16f84. Use what the book or article told you. PortA for inputs and port B for LCD display. You have more than enought pins for the job. |