Adam, On Mon, 23 Apr 2007 08:46:47 -0700 (PDT), Adam Kt wrote: > I am new to this list. Welcome! I hope you have some spare time, because reading this can become a full-time hobby! :-) > I am trying to have a little bit of experience with PICs. > I have two questions in my first post: > 1) How can I do math operation in 16F84. I am using CCS. Can't help there, I'm not a C-person. > 2) Whats the best alternative for 16F84 now-a-days. I beleive that this question would have been asked many times, but my focus is on now? This is like asking for directions in London - if you ask 12 people you'll get at least 13 different answers... My advice would be the 16F88, as it's pin-compatible with the '84 and since you're learning you'll find a lot of examples using the '84. You will have to tweak the software (especially the initialisation, to turn off the new default devices that the '88 has and make it look similar to the '84 - things like AtoD and comparators tend to be on but you need them off to use '84-designed software) but at least the circuits will work as they are (mostly)! 16F628 and '648 are also pin-compatible, and have fewer things to disable, but these days I think they are getting more expensive than the '88 for less capability. Have a look at http://www.amqrp.org/elmer160/lessons/index.html - it was mostly written some time ago so uses the '84 as its target, but at least read Appendix A even if you aren't going to follow the lessons, because there's a lot of useful stuff in there. Cheers, Howard Winter St.Albans, England -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist