Hello, I would like to preface this message by telling you all that I am new to the PIC, so go easy on me. Before I go through with buying a programmer, I would like to know if a project I have in mind can be easily completed. Basically, I need to measure the pulse-width of a square wave and do various things based on that value. I have been using a Basic Stamp II for this purpose, but wanted to use the PIC for its attractive price. One of the limitations of the STAMP is that the maximum measurable pulse width for the BS2sx series is 65535*0.8us = 52.4ms. I need the capability to measure up to about 100ms. Since I know nothing about assembly, I will likely do this in BASIC through a compiler (PS - if anyone could find the time to compile about 35 lines of code for me that would be great, I don't want to buy PICBasic Pro, and the online version doesn't seem to be working for me). The question is, would I be able to measure pulse-widths of about 100ms by simply using a 10MHz clock instead of a 20MHz? And even greater by using a 4MHz? Would either the 16F84 or 16F877 be appropriate for this application, assuming I don't need the additional I/O pins? Thanks, -Anuj Varshney -- http://www.piclist.com hint: The PICList is archived three different ways. See http://www.piclist.com/#archives for details.